-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
plot: If provided with colormap do not modify it. #2935
Conversation
@@ -4,12 +4,10 @@ | |||
import numpy as np | |||
import pandas as pd | |||
import pytest | |||
from numpy.testing import assert_array_equal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint fixes
Thanks for the PR, however this did not work for the minimal example @lvankampenhout provided because |
🤦♂️ Thanks @mathause. I was too sleepy I guess. The example now works; but the test doesn't work. It should fail for cmap='RdBu_r' but doesn't locally. Any suggestions would be helpful |
Never mind; should be all good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK to me!
* 'fix/2932' of github.com:dcherian/xarray: whats-new under bugfixes
why is this needed?
* 'fix/2932' of github.com:dcherian/xarray: @requires_matplotlib
* upstream/master: [WIP] Custom fill value for reindex, align, and merge operations (pydata#2920) Attempt to fix py35 build on Travis (pydata#2925) List formatting in docs (pydata#2939) DOC: Avoid downloading .tif file (pydata#2919)
Failed test is #2940. I'll merge in a few days if no one else has any comments |
This reverts commit ab39722.
whats-new.rst
for all changes andapi.rst
for new APIIf provided a
Colormap
we don't override it anymore. facetgrid determines a colormap first and passes that down, so this prevents overwriting.