diff --git a/tests/deploys/apps/plotly_app/app.py b/tests/deploys/apps/plotly_app/app.py index ea775b1cf..f0f4e6346 100644 --- a/tests/deploys/apps/plotly_app/app.py +++ b/tests/deploys/apps/plotly_app/app.py @@ -3,9 +3,7 @@ import plotly.graph_objs as go from shinywidgets import output_widget, render_widget -from shiny import App -from shiny import experimental as x -from shiny import reactive, render, req, session, ui +from shiny import App, reactive, render, req, session, ui # Load the Gapminder dataset df = px.data.gapminder() @@ -26,23 +24,23 @@ summary_df.columns = ["_".join(col).strip() for col in summary_df.columns.values] summary_df.rename(columns={"country_": "country"}, inplace=True) -app_ui = x.ui.page_fillable( +app_ui = ui.page_fillable( {"class": "p-3"}, ui.p( ui.strong("Instructions:"), " Select one or more countries in the table below to see more information.", ), - x.ui.layout_column_wrap( + ui.layout_column_wrap( 1, - x.ui.card( + ui.card( ui.output_data_frame("summary_data"), ), - x.ui.layout_column_wrap( + ui.layout_column_wrap( 1 / 2, - x.ui.card( + ui.card( output_widget("country_detail_pop", height="100%"), ), - x.ui.card( + ui.card( output_widget("country_detail_percap", height="100%"), ), ), diff --git a/tests/deploys/apps/plotly_app/requirements.txt b/tests/deploys/apps/plotly_app/requirements.txt index 1a5617b60..202d7ea1e 100644 --- a/tests/deploys/apps/plotly_app/requirements.txt +++ b/tests/deploys/apps/plotly_app/requirements.txt @@ -1,4 +1,5 @@ pandas plotly -shiny -shinywidgets +git+https://github.com/posit-dev/py-shiny.git#egg=shiny +git+https://github.com/posit-dev/py-htmltools#egg=htmltools +git+https://github.com/posit-dev/py-shinywidgets#egg=shinywidgets