This is a sample Jupyter notebook included in the MyST book. Replace this with your own analysis.
Source
import plotly.graph_objects as go
fig = go.Figure(
data=go.Scatter(
x=[0, 1, 2, 3, 4],
y=[0, 1, 4, 9, 16],
mode="lines+markers",
name="y = x²",
)
)
fig.update_layout(
title="Sample Plotly Figure",
xaxis_title="x",
yaxis_title="y",
template="plotly_white",
)
fig.show()Loading...