← 返回首页
allow getting and setting cmaps in image widget by kushalkolar · Pull Request #320 · fastplotlib/fastplotlib · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

allow getting and setting cmaps in image widget#320

Merged
kushalkolar merged 1 commit into
masterfrom
iw-cmap
Oct 14, 2023
Merged

allow getting and setting cmaps in image widget#320
kushalkolar merged 1 commit into
masterfrom
iw-cmap

Conversation

Copy link
Copy Markdown
Member

Usage:

iw.cmap # returns list of cmaps, one item per subplot/managed graphic in image widget # set specific subplot managed graphics iw.cmap = ["gray", "gnuplot2"] # set all iw.cmap = "viridis"

After #166 is done we can make it easier to set cmaps in individual subplots for image graphics, but I think this will still be useful for image widget ever after we have that.

kushalkolar requested a review from clewis7 October 13, 2023 23:10
kushalkolar marked this pull request as ready for review October 13, 2023 23:10
kushalkolar merged commit 32db614 into master Oct 14, 2023
kushalkolar deleted the iw-cmap branch October 19, 2023 03:26

clewis7 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

LGTM

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.