-
Notifications
You must be signed in to change notification settings - Fork 1
coloraxis #208
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
coloraxis #208
Conversation
|
|
||
| ```python | ||
| import plotly.graph_objects as go | ||
|
|
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.
could you import here make_subplots? Maybe this why the CI fails.
python/colorscales.md
Outdated
|
|
||
| fig.add_trace( | ||
| go.Heatmap(x = [3, 4, 5, 6], z = [[10, 2, 1, 0], [4, 3, 5, 6]], coloraxis = "coloraxis"),1,2) | ||
| fig.update_layout(coloraxis = {'colorscale':'jet'}) |
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.
please use viridis or plasma, jet should not be used too much ;-)
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.
lol
python/colorscales.md
Outdated
|
|
||
| ### Share Color Axis | ||
| This example shows how to specify the color scale and color bar per trace. To share colorscale information in multiple subplots, you can use [coloraxis](https://plot.ly/javascript/reference/#scatter-marker-line-coloraxis). | ||
| Below we show how to set a reference coloraxis to a shared coloraxis, which are set in the layout. Note that multiple color scales can be linked to the same color. |
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.
The example is nice but I don't really understand the text paragraph...
|
thanks 💃 ! |
No description provided.