Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- common_params = {
- "opacity": 0.5,
- "mode": "lines+markers",
- "marker": {"size": 8, "opacity": 0.5},
- }
- fig = go.Figure()
- fig = FigureResampler(fig, create_overview=True)
- fig.add_trace(
- go.Scattergl(name="Pivoted", **common_params),
- hf_x=s_clip.index,
- hf_y=s_clip,
- )
- fig.add_trace(
- go.Scattergl(name="Interpolated", **common_params),
- hf_x=s_interpolated.index,
- hf_y=s_interpolated,
- )
- fig.update_layout(title=tag, xaxis_title="Time", yaxis_title="Value")
- fig.show_dash(mode="external")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement