Skip to content

How to get the Download plot as png button without raw_plotly_config: true?? #486

Answered by dbuezas
deltamelter asked this question in Q&A
Discussion options

You must be logged in to vote

You can override config to change the buttons without using raw_plotly_config.
The default is:

config:
  modeBarButtonsToRemove: ["resetScale2d", "toImage", "lasso2d", "select2d"]

(all defaults here)

So you could do this:

config:
  modeBarButtonsToRemove: ["resetScale2d", "lasso2d", "select2d"]

which will not remove the toImage button

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants