-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
showspikes
is broken on surface traces
#1406
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
Comments
Nice catch. Thanks very much for this report! |
showspikes
is broken on surface traces
OK @jdugge To remove them you'll need to set contours: {
x: { highlight: false },
y: { highlight: false },
z: { highlight: false }
} in your surface trace object. See example http://codepen.io/etpinard/pen/peoajB I think it's fairly easy to realized that this is all very confusing. So perhaps we should merge the surface contour highlight and the spikes behavior into a single attribute in v2? |
Ah, amazing, that's it! Thanks, I completely missed that option. I guess because of the visual similarity to the spikes and spikesides, I didn't even consider looking in the options for the Maybe instead of merging contour highlights and spikes into a single attribute, a note in the documentation linking the two topics would already be enough? |
Good idea. Will be done in plotly/documentation#702 Thanks again for the report! |
When hovering over a surface plot, Plot.ly displays guide lines ("hover guides"?) that highlight all lines of equal x, y, or z values:
Codepen
We found that the z hover guides can sometimes be confusing rather than helpful, and in many cases they aren't needed for highlighting the position.
I haven't been able to find a way to disable the hover guides. Would it be possible to add a boolean for switching them off for each axis, similar to
showspikes
andspikesides
?The text was updated successfully, but these errors were encountered: