-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
Add cmap option to specify the colormap of plot #1788
Add cmap option to specify the colormap of plot #1788
Conversation
Before a pull request is accepted, it must meet the following criteria:
|
Codecov Report
@@ Coverage Diff @@
## master #1788 +/- ##
==========================================
- Coverage 58.38% 58.34% -0.05%
==========================================
Files 66 66
Lines 6705 6712 +7
==========================================
+ Hits 3915 3916 +1
- Misses 2790 2796 +6
Continue to review full report at Codecov.
|
63d0f16
to
4b16138
Compare
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 0.44%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
This PR aims to allow the user to set specific color scale in the plot.
This should be merged after restructuring (#1777). Please see the changes in commit 2bc2e69.
Description
cmap
option todisplay()
method - It requires a string to specify the name of the color map. The default color scale is 'jet'.plot_cmap
attribute to widget class because the colormap string is also used in add element method.Examples
Default color scale:
Custom color scale:
Type of change
Checklist