I’m trying to hide the Plotly.js created legend for the contour plot.
I set the
showlegend: false in the
layout object as well as in the trace object, but for some reason it ignores that setting and still draws the legend (although partially visible).
You can see an example here:
Maybe all you need is setting
showscale: false similar to this demo?
A contour plot legend shows the values that each contour color represents; a symbol plot legend shows the values that each vector color represents. The X–Y plot legend refers to each curve by label and shows the curve’s style.