Py.Cafe

huong-li-nguyen/

single-plotly-chart

Interactive Iris Plot

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
8
9
10
11
import solara
import plotly.express as px


@solara.component
def Page():
    df = px.data.iris()
    fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")
    fig.show()