Changing the SVG icon from a camera to a download icon

Is there a way to change the default camera icon in the mode bar layout to that of a download icon without tampering with the download capability ? Also is there a way to make it solid and not have to appear only during hover ?

Hi @ULTRA,

You can have the modebar always display using the displayModeBar config option. See https://plot.ly/javascript/configuration-options/#always-display-the-modebar for info on displayModeBar. And see https://plot.ly/python/configuration-options/ for info on how to pass config option through the Python API.

While it’s possible to add custom buttons with custom icons through the JavaScript API (See Adding a button to "modeBarButtons" with cutom image), this isn’t possible through the Python API right now.

Hope that helps,
-Jon

1 Like

Thanks for the help @jmmease :+1: