You are on page 1of 2
Blotly GETTING STARTED Ine terial so pip inal pty esempoivtond ingot pot oly py ‘nport poi graph, obj 5 0 teace= (10,2), 21) date (Wace aaa=t = goFeure( ‘ata = data, ayout= layout) Inthe terminal FeCaapLoR Cae Orin the ran netbook: pylon ta) BASIC CHARTS AN Line Pots ace = goseatter( A2]y=(1.21) sence = goseater( 42].y=(201) opinion wace, race? 1) Scatter Plots act = goscatter( w=(.2.3],y=19.2.31, ters (¥8°C1, textpsition = top center rode »'markesvext) mode = trace] Pylon (ata) Borcharts race = go.8or( 421,921.21) ata [ace pyior (ta) "eBubble Charts trace= po eatter{ proc (tae) BR Heatmaps traces go.Heatmap PeUC1.2.3.41. (567.8))) ata = (ace root data) ba Area Pots trace= 0 scater{ ‘i= tones) ata (ace root daa) PYTHON CLIENT — PLOT.LY/PYTHON Layout Showiegend= Tue, legend= ae x-02,y=05) tracet r2ee2) pilot Fg) Layour is. template = det showprid= Faee Showline= Tue, thie mands ero") layouts goLayout¢ “ns = xi template, se ae tempate, , ata= [ace fig go gure ate doa layout= layout rapt fg) ALLLAYOUTS PLOT.LY/PYTHON/REFERENCE/#LAYOUT STATISTICAL CHARTS ak, Histograms trace = go. Histogram x=(02.3.35.45)) ata= (ace) ripiot (data) HOH Box Pots trace = go.B0«( x=11.2.3.33,451) tata ace) ripit dat) of DHistozam trace = gostorgran2d( x=(1.2.3.3345) x6(12.3.3.3.451), ata=[vace) pripiot (data) MAPS 3 Bubble Map rmarker= act ‘marker = red "bue size = (30,501) mode = markers) pipet (Twace € Choropleth Map we det ‘ype "chroplth. leeatons=(A2 XV), locatonmede = USA-tates”, Colerscale = Yeas, 2=(10,20,401), yes det geo» eee scope= us) map = goFgure(data= tc] Tayout~ yt) pipet map) @ Scatter Map race det ‘ype = satergeo ton = (42 39] lat=( 12,22) rmarker=('Rome' Greece, ‘mode martes) pipet (Uae) PYTHON CLIENT PLOT.LY/PYTHON ALL LAYOUTS 3D CHARTS # s0Surface Pots trace= gosurace( Celorcale= ine’, P13 5.6.13, [213.851 data (ace) yupot( daa) 4 sD Line Pots traces go seate30( 9.8.5 1, 2=111,8,15,3) ‘mode = ins’) data {ace} pyipot (data) 1.24.81, a sD ScatterPlts traces go seate30( 9.85 1, 261118153) ‘mode = markers’) sta {ace} pipet (daa) 1.24.81, PLOT.LY/PYTHON/REFERENCE FIGURE HIERARCHY = DATA] TRACE) nya] Colr, text, 2) folorscle ABC o° [1 ARKER () ‘oor ABC symbol ABC Ned ‘oor ABC sath 123 wwour ty tile adc 2, Yeas 1) SCENE) ANE, YX, 2405 () ceo) LeceNo ANNOTATIONS ()

You might also like