plotly-5.0 / app.py
freddyaboulton's picture
Create app.py
0eb8d80 verified
raw
history blame contribute delete
186 Bytes
import gradio as gr
import pandas as pd
import plotly.express as px
df = pd.DataFrame({"data": [5, 1, 3, 4]})
with gr.Blocks() as demo:
gr.Plot(value=px.bar(df))
demo.launch()