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

Fix to construction of some colormaps. #168

Merged
merged 3 commits into from
Apr 6, 2022

Conversation

ykempf
Copy link
Contributor

@ykempf ykempf commented Apr 6, 2022

No description provided.

@ykempf ykempf requested a review from markusbattarbee April 6, 2022 08:14
@ykempf ykempf mentioned this pull request Apr 6, 2022
@markusbattarbee
Copy link
Contributor

so let's instead use
plt.register_cmap(name='parula_r', cmap=cmaps.parula_r) in plot.py and
matplotlib.colors.LinearSegmentedColormap.from_list("parula_r",_parula_data[::-1]) in colormaps.py

@markusbattarbee markusbattarbee merged commit 39f63b7 into fmihpc:master Apr 6, 2022
@ykempf ykempf deleted the colormap_construction_fix branch April 6, 2022 11:30
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