Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pierrelouisbescond/495d77c33b7dd50b4ef86cf3af7a76e4 to your computer and use it in GitHub Desktop.
Save pierrelouisbescond/495d77c33b7dd50b4ef86cf3af7a76e4 to your computer and use it in GitHub Desktop.
fig = go.Figure()
# We use [::24] to extract only 60 rows from the 1440
fig.add_trace(go.Scatter(x=df.cos_x[::24], y=df.sin_x[::24], mode="markers"))
fig.update_layout(xaxis = dict(title="cos_x"),
yaxis = dict(title="sin_x", scaleanchor = "x", scaleratio = 1))
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment