7-Dash-1
Sat 17 May 2025
import pyutil as pyu
pyu.get_local_pyinfo()
'conda env: ml312-2024; pyv: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:27:36) [GCC 11.2.0]'
!pip show dash | grep "Version:"
Version: 2.18.2
from dash import Dash, dcc, html
import plotly.express as px
app = Dash(__name__)
fig = px.scatter(x=[1, 2, 3], y=[4, 5, 6])
app.layout = html.Div([
dcc.Graph(figure=fig)
])
if __name__ == '__main__':
app.run_server(debug=True)
Score: 5
Category: plot-compare