# original from https://shinylive.io/py/examples/#plotly
import plotly.express as px
from shiny.express import input, ui
from shinywidgets import render_plotly
ui.page_opts(title="Filling layout", fillable=True)
with ui.layout_columns():
@render_plotly
def plot1():
return px.histogram(px.data.tips(), y="tip")
@render_plotly
def plot2():
return px.histogram(px.data.tips(), y="total_bill")