Plotly (python) supports specifying a config
like this:
import plotly.express as px
config = {
'toImageButtonOptions': {
'format': 'svg', # one of png, svg, jpeg, webp
}
}
fig = px.bar(x=[1, 2, 3], y=[1, 3, 1])
fig.show(config=config)
My question is: is there a way to set a default value for this?
Maybe I have to create a custom templete and set pio.templates.default
?