Skip to content

Commit

Permalink
Added description in app
Browse files Browse the repository at this point in the history
  • Loading branch information
bqd39 committed Aug 13, 2024
1 parent 432b981 commit 97e3b0d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
8 changes: 8 additions & 0 deletions examples/dash/plotly-large-dataset/combined/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

app.layout = html.Div(children=[
html.H1("Plotting Large Datasets in Dash"),
html.H2("""Downsampled figure: Departure delay time of around 3
million flights in the first half (1/1-6/30) of 2006"""),
html.P("Select range of flight dates to visualize"),
dcc.DatePickerRange(
id="date-picker-select",
Expand All @@ -22,6 +24,12 @@
max_date_allowed=dt(2006, 7, 1),
initial_visible_month=dt(2006, 1, 1),
),
html.Div("""Click on the graph and drag
your cursor around to zoom into any part of the graph you want."""
, style={"margin-top": "10px"}),
html.Div("""To revert the figure to its original state, click on the
'Reset axes' button at the upper right corner of the figure."""
, style={"margin-top": "10px"}),
dcc.Graph(id='example-graph'),

])
Expand Down
8 changes: 8 additions & 0 deletions examples/dash/plotly-large-dataset/resampler/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

app.layout = html.Div(children=[
html.H1("Plotting Large Datasets in Dash"),
html.H2("""Downsampled figure: Departure delay time of around 3
million flights in the first half (1/1-6/30) of 2006"""),
html.P("Select range of flight dates to visualize"),
dcc.DatePickerRange(
id="date-picker-select",
Expand All @@ -22,6 +24,12 @@
max_date_allowed=dt(2006, 7, 1),
initial_visible_month=dt(2006, 1, 1),
),
html.Div("""Click on the graph and drag
your cursor around to zoom into any part of the graph you want."""
, style={"margin-top": "10px"}),
html.Div("""To revert the figure to its original state, click on the
'Reset axes' button at the upper right corner of the figure."""
, style={"margin-top": "10px"}),
dcc.Graph(id='example-graph'),

])
Expand Down
9 changes: 8 additions & 1 deletion examples/dash/plotly-large-dataset/webgl/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@

app.layout = html.Div(children=[
html.H1("Plotting Large Datasets in Dash"),
html.H2("""Downsampled figure: Departure delay time of around 3
million flights in the first half (1/1-6/30) of 2006"""),
html.Div("""Click on the graph and drag
your cursor around to zoom into any part of the graph you want."""
, style={"margin-top": "10px"}),
html.Div("""To revert the figure to its original state, click on the
'Reset axes' button at the upper right corner of the figure."""
, style={"margin-top": "10px"}),
dcc.Graph(id='example-graph', figure=fig),

])

0 comments on commit 97e3b0d

Please sign in to comment.