Skip to content

Commit

Permalink
docs(sine): Remove deprecated panel_sidebar, panel_main
Browse files Browse the repository at this point in the history
Fixes #66
  • Loading branch information
gadenbuie authored Nov 7, 2024
1 parent d93c9f2 commit f2646e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sine.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ import matplotlib.pyplot as plt
app_ui = ui.page_fluid(
ui.layout_sidebar(
ui.panel_sidebar(
ui.sidebar(
ui.input_slider("period", "Period", 0.5, 2, 1, step=0.5),
ui.input_slider("amplitude", "Amplitude", 0, 2, 1, step=0.25),
ui.input_slider("shift", "Phase shift", 0, 2, 0, step=0.1),
),
ui.panel_main(
ui.output_plot("plot"),
),
ui.output_plot("plot"),
),
)
Expand Down

0 comments on commit f2646e9

Please sign in to comment.