Did this get removed in a particular release and I just didn’t notice at the time, or has it gone missing via some other means? My chart toolbar now just looks like this:
@robfraz, this was changed a while back. The edit in chart property is default to off, but can be turned on in the config settings of dcc.Graph using showlink:
This did work (although it was config=dict(showLink=True), with a capital ‘L’). However, it comes with problems with the link text being occluded sometimes, which wasn’t a problem with the mode bar. For example:
Ah, nice. Thanks. I had also just figured out I could explicitly define all buttons like this:
DEFAULT_CHART_CONFIG = {
'modeBarButtons': [
[
'toImage',
'sendDataToCloud',
'zoom2d',
'pan2d',
'zoomIn2d',
'zoomOut2d',
'autoScale2d',
'resetScale2d',
'toggleSpikelines',
'hoverClosestCartesian',
'hoverCompareCartesian'
]
]
}
# And then use it with all my graphs as so:
dcc.Graph(id='foo', config=DEFAULT_CHART_CONFIG)
I am also using plotly.io.write_html… not sure the difference between plotly.offline.plot and plotly.io.write_html. But so far none of the two seem to allow me to add the ‘Edit in Chart Studio’ button to the html file being generated.