Can we have square shape legends for scatter or line graphs?

HI @dataturnsmeon, i think that is not possible unfortunately. A time ago I investigated how to tweak the legend representation but I did not succeed.

IMHO this a weak point of plotly that you can not “fake” the legend, it is always related to the data. At least, I did not figure out how yet.