-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
I'd like to customize the icons for the modebar buttons while retaining their functionality.
For example: https://codepen.io/SeanBlum/pen/OJVjwgd
I can imagine two ways of doing this:
-
Expose the plotly modebar callback functions in
plotly.js/src/components/modebar/buttons.jsso that we can call them ourselves from theclickcallback. This approach has a bonus of allowing the developer to add side-effects when a standard modebar button is clicked. -
Create a
modeBarButtonsToReplaceoption that allows the user to update specific values of plotly button objects while retaining their other values, as suggested by @etpinard in More modeBarButtons customization options #4036
Metadata
Metadata
Assignees
Labels
No labels