trace = go.scatter ( x = [ 1, 2, 3 ] , y = [ 1, 2, 3 ...€¦ · plot_url = py.plot ( fig ) in the...

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: others

Post on 14-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: trace = go.Scatter ( x = [ 1, 2, 3 ] , y = [ 1, 2, 3 ...€¦ · plot_url = py.plot ( fig ) In the terminal: py.iplot ( fig ) Or in the IPython notebook: trace = go.Scatter (x =

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 ...€¦ · plot_url = py.plot ( fig ) In the terminal: py.iplot ( fig ) Or in the IPython notebook: trace = go.Scatter (x =

trace = dict (

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

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

py.iplot ( [ trace ] )

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

type = ‘scattergeo’ ,