-
Notifications
You must be signed in to change notification settings - Fork 99
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
Replace all jet color map use in examples with viridis #557
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
from traitsui.api import Item, Group, View | ||
|
||
# Chaco imports | ||
from chaco.api import ArrayPlotData, jet, Plot | ||
from chaco.api import ArrayPlotData, viridis, Plot | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're not even using this color map in this example - looks like we're using the The example looks very weird with the |
||
from chaco.default_colormaps import accent | ||
from chaco.tools.api import PanTool, ZoomTool | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
|
||
# Chaco imports | ||
from chaco.api import AbstractOverlay, ArrayPlotData, \ | ||
Plot, jet, ScatterPlot, LinePlot, LinearMapper | ||
Plot, viridis, ScatterPlot, LinePlot, LinearMapper | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again, looks like we're not using the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I don't think a color map is used anywhere, they're all just line plots with the color explicitly set to blue. |
||
from chaco.tools.api import PanTool, ZoomTool , LegendTool | ||
|
||
# Canvas imports | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example seems to be broken. When I run the example, I see the following error. This doesn't need to be fixed in this PR - but an issue (if one doesn't exist already) would be nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #558