Use surfacecolor, if defined, instead of z to color the contour lines
See original GitHub issueI suggest that when usecolormap in surface.contours
is true, the lines should be colored using the surfacecolor
, if defined, otherwise it will use the colorscale
as a fallback.
As you can see in the demo, i’d like the countours in the second scene to use the surfacecolor
as a source for coloring instead of the default colorscale
that they currently use.
Thanks in advance!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
MATLAB surfc - Contour plot under surface plot - MathWorks
A surface plot is a three-dimensional surface that has solid edge colors and solid face colors. The function plots the values in matrix...
Read more >plotly.graph_objects.Surface — 5.11.0 documentation
The color scale corresponds to the z values by default. For custom color scales, use surfacecolor which should be a 2D list, where...
Read more >color of a 3D surface plot in python - Stack Overflow
To get the correct colors, use the Z values to pick values from the color map: my_col = ...
Read more >3d surface plots in Python - Plotly
In this example, the surface color represents the distance from the origin, rather than the default, which is the z value. In [6]:....
Read more >3D surface (colormap) — Matplotlib 3.6.2 documentation
Demonstrates plotting a 3D surface colored with the coolwarm colormap. The surface is made opaque by using antialiased=False . Also demonstrates using the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d call that a bug. Thanks for reporting!
This issue has been tagged with
NEEDS SPON$OR
A community PR for this feature would certainly be welcome, but our experience is deeper features like this are difficult to complete without the Plotly maintainers leading the effort.
Sponsorship range: $5k-$10k
What Sponsorship includes:
Please include the link to this issue when contacting us to discuss.