Skip to content

Commit

Permalink
docs(example): fix chart height issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Oct 4, 2024
1 parent 6bf226a commit 0fd5bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/05_charts/Plotly/01_plotly-charts-resizable.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def update_stream_size(ternary_size, **kwargs):

with layout.content:
with vuetify.VContainer(fluid=True, classes="fill-height"):
with vuetify.VRow():
with vuetify.VRow(style="height: 50%;"):
with vuetify.VCol():
with trame.SizeObserver("polar_size"):
ctrl.update_polar = plotly.Figure(
Expand All @@ -266,7 +266,7 @@ def update_stream_size(ternary_size, **kwargs):
ctrl.update_ternary = plotly.Figure(
display_mode_bar=("false",),
).update
with vuetify.VRow(style="min-height: 300px;"):
with vuetify.VRow(style="height: 50%;"):
with vuetify.VCol():
with trame.SizeObserver("contour_size"):
ctrl.update_contour = plotly.Figure(
Expand Down

0 comments on commit 0fd5bd0

Please sign in to comment.