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
2 Likes
Thanks for the help @jmmease
For those who are interested, I managed to add a custom download icon in R plotly. Since the work is done in javascript it may be possible to use this approach in python?
1 Like