Toggle a 3D Surface Plot

Is there anyway to toggle a 3D surface plot on/off? I can’t seem to get the trace names of 3D surfaces to appear in the legend.

Not the moment unfortunately.

surface (and also contour, heatmap, histogram2d, histogram2dcontour, choropleth, mesh3d) traces don’t get legend items at the moment.

its been a few years, any update on this one? No legend for the cone plots either?

Hi @tfg250,

I believe this is still the current situation.