-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Exception in Tkinter/to_rgb with new colormaps #6025
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
Milestone
Comments
Attn @efiring I am pretty sure this is a duplicate? |
I think the The current state came from https://github.com/matplotlib/matplotlib/pull/5283/files but passes arguments that do not make sense to the A more minimal example plt.get_cmap('viridis',20)(.5) |
Yes, ListedColormap(self(np.linspace(0, 1, lutsize)), name=self.name + str(lutsize))` |
efiring
added a commit
to efiring/matplotlib
that referenced
this issue
Feb 20, 2016
tacaswell
added a commit
that referenced
this issue
Feb 21, 2016
BUG: fix ListedColormap._resample, hence plt.get_cmap; closes #6025
tacaswell
added a commit
that referenced
this issue
Feb 21, 2016
BUG: fix ListedColormap._resample, hence plt.get_cmap; closes #6025
tacaswell
added a commit
to tacaswell/matplotlib
that referenced
this issue
May 22, 2016
BUG: fix ListedColormap._resample, hence plt.get_cmap; closes matplotlib#6025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
python3.5.1
matplotlib 1.5.1
jupyter 4.0.6
matplotlib.pyplot cannot render figures with new colormaps in discretized mode ('viridis' and friends).
with 'jet' and friends exception is not raised
How to reproduce:
raises:
The text was updated successfully, but these errors were encountered: