Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added documentation on getting full list of registered colormaps re: issue #26244#26930

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
story645 merged 2 commits intomatplotlib:mainfromwemi3:26244cm
Oct 17, 2023

Conversation

@wemi3
Copy link
Contributor

PR summary

References issue#26244

Added documentation as described in#26244 (comment) tomatplotlib.colormaps docs and the top ofchoosing colormaps tutorial.

The documentation added to each doc is:

To get a list of all registered colormaps, you can do::    from matplotlib import colormaps    list(colormaps)

PR checklist

Comment on lines 118 to 121
To get a list of all registered colormaps, you can do::
from matplotlib import colormaps
list(colormaps)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm not sure this is the right place; it appears to be in the colour sequences section.

wemi3 reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

agree,@wemi3 Colormaps and ColorSequences are different things, and what you're looking for is at

classColormapRegistry(Mapping):

wemi3 reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

My mistake, should be fixed now!

story645 reacted with laugh emoji
@jklymak
Copy link
Member

This seems really useful. Would you consider adding thishttps://matplotlib.org/stable/users/explain/colors/colormap-manipulation.html#registering-a-colormap and athttps://matplotlib.org/stable/users/explain/colors/colormaps.html? Not mandatory, but would be a help.

@story645
Copy link
Member

story645 commentedOct 11, 2023
edited
Loading

Sorry that this got dropped.@wemi3 if we don't hear back from you in a day or so about@jklymak's ask, I'll merge this and spin off a follow up issue.

@0taj
Copy link
Contributor

@story645 Would I be able to work on the issues that will be spun off?

@story645
Copy link
Member

story645 commentedOct 17, 2023
edited
Loading

@0taj sure - you don't even have to wait for me to make an issue. You can directly create a pull request that adds instructions on seeing all colormaps to the places@jklymak mentioned in#26930 (comment)

@story645story645 added this to thev3.8-doc milestoneOct 17, 2023
@story645story645 merged commit8500879 intomatplotlib:mainOct 17, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 17, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 17, 2023
@story645
Copy link
Member

Thank you for the pull request@wemi3, hope to see you again!

ksunden added a commit that referenced this pull requestOct 17, 2023
…930-on-v3.8.xBackport PR#26930 on branch v3.8.x (Added documentation on getting full list of registered colormaps re: issue#26244)
@QuLogicQuLogic modified the milestones:v3.8-doc,v3.8.1Oct 17, 2023
@ksundenksunden mentioned this pull requestNov 2, 2023
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@QuLogicQuLogicQuLogic left review comments

@story645story645story645 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v3.8.1

Development

Successfully merging this pull request may close these issues.

5 participants

@wemi3@jklymak@story645@0taj@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp