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

Made color handling for all matplotlib plots consistent #515

Merged
merged 2 commits into from
Feb 18, 2016

Conversation

philippjfr
Copy link
Member

Small fix for ColorbarPlots, moving symmetric plot option to the base class where it is used.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: backend: mpl labels Feb 18, 2016
@philippjfr philippjfr added this to the v1.5.0 milestone Feb 18, 2016
@jlstevens
Copy link
Contributor

Looks good. Removing redundant parameter definitions is always a good thing!

@philippjfr
Copy link
Member Author

Agreed, although it was also an actual bug because some classes didn't have the parameter so it could fail in some cases. I've expanded the scope of the PR a little bit by consistently using the ColorbarPlot method to set color ranges so they all now support logarithmic and symmetric color ranges.

@philippjfr philippjfr changed the title Moved symmetric plot option to mpl ColorbarPlot Made color handling for all matplotlib plots consistent Feb 18, 2016
@philippjfr philippjfr force-pushed the symmetric_fix branch 2 times, most recently from 6287d1a to b2cb873 Compare February 18, 2016 17:15
@philippjfr
Copy link
Member Author

Tests are passing and I confirmed the options actually work on the different plot types. Ready to merge.

@jlstevens
Copy link
Contributor

Great!

jlstevens added a commit that referenced this pull request Feb 18, 2016
Made color handling for all matplotlib plots consistent
@jlstevens jlstevens merged commit e423f45 into master Feb 18, 2016
@philippjfr philippjfr modified the milestones: 1.4.4, v1.5.0 Feb 25, 2016
@philippjfr philippjfr deleted the symmetric_fix branch April 1, 2016 14:27
@philippjfr philippjfr modified the milestones: v1.5.0, 1.4.4 Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: backend: mpl type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants