-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
Since I upgraded plotly from 5.24.1 to 6.3.0 my diagrams do not take up the whole width of the parent container anymore.
Minimal working example using solara:
import solara
import plotly.express as px
@solara.component
def create_dashboard():
fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
return solara.Div(
[solara.FigurePlotly(fig)],
style={"width": "100%", "display": "flex", "flex": "1 1 auto"},
),
)
@solara.component
def Page():
create_dashboard()
What is the accepted way of using full width in >6.0.0
?