Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
- import plotly
- import plotly.graph_objs as go
- init_notebook_mode(connected=True)
- trace0 = go.Scatter(x=[1, 2, 3], y=[9, 8, 7])
- trace1 = go.Scatter(x=[7, 8, 9], y=[4, 4, 4])
- fig = go.Figure(data=[trace0, trace1])
- iplot(fig, show_link=False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement