Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
  2. import plotly
  3. import plotly.graph_objs as go
  4.  
  5. init_notebook_mode(connected=True)
  6.  
  7. trace0 = go.Scatter(x=[1, 2, 3], y=[9, 8, 7])
  8. trace1 = go.Scatter(x=[7, 8, 9], y=[4, 4, 4])
  9.  
  10. fig = go.Figure(data=[trace0, trace1])
  11. iplot(fig, show_link=False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement