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

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 =

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

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