Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
mdboom merged 1 commit intomatplotlib:masterfrom
drevicko:fix-form-colors
May 24, 2013
Merged

qt4_editor formlayout now works with colour tuples (fixes Issue #1690)#2017
mdboom merged 1 commit intomatplotlib:masterfrom
drevicko:fix-form-colors

Conversation

@drevicko
Copy link
Copy Markdown
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.

2 participants