trace = go.scatter ( x = [ 1, 2, 3 ] , y = [ 1, 2, 3 ... getting started 1. install in the terminal...

2
plot_url = py.plot ( g ) In the terminal: py.iplot ( g ) 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’ ,

Upload: lamnhu

Post on 07-Mar-2018

219 views

Category:

Documents


1 download

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’ ,