Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt4_editor formlayout now works with colour tuples (fixes Issue #1690) #2017

Merged
merged 1 commit into from May 24, 2013

Conversation

drevicko
Copy link
Contributor

The form layout wasn't recognising colours that were in 3-tuple form. I added in a function to test for proper 3-tuples (ie: floats between 0 and 1). This is used when setting up the edit form in FormWidget's setup() and when compiling the forms value in get().

This fixes issue #1690

mdboom added a commit that referenced this pull request May 24, 2013
qt4_editor formlayout now works with colour tuples (fixes Issue #1690)
@mdboom mdboom merged commit 4a6b612 into matplotlib:master May 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants