Plotly modebar perturbation when using Streamlit plotly event

When I use Streamlit plotly event:

selected_points = plotly_events(fig_risk, click_event=True, hover_event=False)

first: the plotly full screen icon is not available

second: we canโ€™t pass the modebar config parameter as we can with st.plotly_chart()

Configuration plotly modebar

config = {"displayModeBar": True, "displaylogo": False, 'modeBarButtonsToRemove': ['select2d', 'lasso2d', 'zoomIn2d', 'zoomOut2d']}

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.