Transcript
Page 1: trace = go.Scatter ( x = [ 1, 2, 3 ] , y = [ 1, 2, 3 ... GETTING STARTED 1. Install In the terminal sudo pip install plotly 2. Sign Up & Configure  getting-started 3

plot_url = py.plot ( fig )In the terminal:

py.iplot ( fig )Or in the IPython notebook:

trace = go.Scatter (x = [ 1, 2, 3 ] , y = [ 1, 2, 3 ] ,

size = [ 30, 80, 200 ] ) ,‘green’ ]

mode = ‘markers’ )py.iplot ( [ trace ] )

marker = dict (color = [ ‘red’, ‘blue’ ,

Page 2: trace = go.Scatter ( x = [ 1, 2, 3 ] , y = [ 1, 2, 3 ... GETTING STARTED 1. Install In the terminal sudo pip install plotly 2. Sign Up & Configure  getting-started 3

trace = dict (

lon = [ 100, 400 ] , lat = [ 0, 0] ,

size = [ 30, 50 ] ) ,mode = ‘markers’ )

py.iplot ( [ trace ] )

marker = dict (marker = [ ‘red’, ‘blue’ ]

type = ‘scattergeo’ ,


Top Related