You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Jupyter Lab or other IDEs, it is possible to remove Plotly modebar from display by using the following line
fig.show(config = {'displayModeBar: False})
However, I am not able to use this line in py-shiny. If I do, it opens another browser window displaying the plot. Is there an option to pass this config to py-shiny rendering function, so that the the rendered plot does not display plotly modebar?
The text was updated successfully, but these errors were encountered:
Unfortunately this is a known limitation of FigureWidget, I'd really like to see solution come from plotly.py, likely following the proposal here plotly/plotly.py#1074 (comment)
In the meantime, you can either take advantage of this workaround or add a .plotly .modebar { display: none; } CSS rule to your Shiny app.
In Jupyter Lab or other IDEs, it is possible to remove Plotly modebar from display by using the following line
However, I am not able to use this line in py-shiny. If I do, it opens another browser window displaying the plot. Is there an option to pass this config to py-shiny rendering function, so that the the rendered plot does not display plotly modebar?
The text was updated successfully, but these errors were encountered: