Plotly legend

Cosmetic improvements to plotly export.

- [ ] add documentation of plotly export