mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
f60053d85f
* Try clean install * Resolve peer dependencies? * CHANGELOG * Add outbreak_forcast notebook * generate again * CHANGELOG * Add image to changelog * Color palette * Fix colors + legend * Tooltip * Add axis titles * Clean up code a bit + quant scales * Add code * Add size, shape + rename legend title * Fix demo * Add update + demo * Handle darkmode better * Try new font * Use sans-serif * Add caption * Changelog + tests * More tests * Address comments * Make caption fontsize smaller and enable interactivity * Add docstrings + add height + width * Use normal font weight * Make last values keyword only Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Fix typo * Accept value as fn * reword changelog a bit Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
13 lines
233 B
Python
13 lines
233 B
Python
import gradio as gr
|
|
|
|
from scatter_plot_demo import scatter_plot
|
|
|
|
|
|
with gr.Blocks() as demo:
|
|
with gr.Tabs():
|
|
with gr.TabItem("Scatter Plot"):
|
|
scatter_plot.render()
|
|
|
|
if __name__ == "__main__":
|
|
demo.launch()
|