Spaces:
Running
Running
File size: 351 Bytes
84d90b5 07944e5 84d90b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import gradio as gr
from vega_datasets import data
with gr.Blocks() as demo:
gr.LinePlot(
data.stocks(),
x="date",
y="price",
color="symbol",
title="Stock Prices",
tooltip=["date", "price", "symbol"],
height=300,
container=False,
)
if __name__ == "__main__":
demo.launch()
|