Creating a figure with the
config = {"toImageButtonOptions": {"format": "svg"}}
leads to a svg figure where the text in the legend is truncated.

Compare this to the screenshot:

Using
- plotly=5.6.0=py_0
- dash-renderer=1.9.1=pyhd3eb1b0_0
- dash==2.2.0
- dash-bootstrap-components==1.0.3
- dash-bootstrap-templates==1.0.5
- dash-core-components==2.0.0
- dash-html-components==2.0.0
- dash-table==5.0.0