This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1862 lines (1858 loc) · 184 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<meta name="generator" content="pdoc 0.5.3" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-39373211-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-39373211-1');
</script>
<title>plotly_express API documentation</title>
<meta name="description" content="`plotly_express` is a terse, consistent, high-level wrapper around `plotly` for rapid data exploration and figure generation. See the gallery at …" />
<link href='https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css' rel='stylesheet'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/8.0.0/sanitize.min.css' rel='stylesheet'>
<link href="https://fonts.googleapis.com/css?family=Dosis:500|Inconsolata|Open+Sans" rel="stylesheet">
<style>*{font-family:'Open Sans';color:#506784}h1,h2,h3,h4,h5,h6,nav,nav a,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-family:'Dosis' !important;color:#2a3f5f}code,code span,code a,kbd,samp{font-family:Menlo,Consolas,Roboto Mono,Ubuntu Monospace,Noto Mono,Oxygen Mono,Liberation Mono,monospace !important;color:#2a3f5f}</style>
<style>.flex{display:flex !important}body{line-height:1.5em}#content{padding:20px}#sidebar{padding:30px;overflow:hidden}.http-server-breadcrumbs{font-size:200%;margin:0 0 15px 0}#footer{font-size:.75em;padding:5px 30px;border-top:1px solid #ddd;text-align:right}#footer p{margin:0 0 0 1em;display:inline-block}#footer p:last-child{margin-right:30px}h1,h2,h3,h4,h5{font-weight:300}h1{font-size:2.5em;line-height:1.1em}h2{font-size:1.75em;margin:1em 0 .50em 0}h3{font-size:1.4em;margin:25px 0 10px 0}h4{margin:0;font-size:105%}a{color:#0D76BF;text-decoration:none;transition:color .3s ease-in-out}a:hover{color:#119DFF}.title code{font-weight:bold}h2[id^="header-"]{margin-top:2em}.ident{color:#ab63fa}pre code{background:#f2f5fa;font-size:.8em;line-height:1.4em}code{background:#f2f5fa;padding:1px 4px;overflow-wrap:break-word}h1 code{background:transparent}pre{background:#f2f5fa;border:0;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin:1em 0;padding:1ex}#http-server-module-list{display:flex;flex-flow:column}#http-server-module-list div{display:flex}#http-server-module-list dt{min-width:10%}#http-server-module-list p{margin-top:0}.toc ul,#index{list-style-type:none;margin:0;padding:0}#index code{background:transparent}#index h3{border-bottom:1px solid #ddd}#index ul{padding:0}#index h4{font-weight:bold}#index h4 + ul{margin-bottom:.6em}@media (min-width:200ex){#index .two-column{column-count:2}}@media (min-width:300ex){#index .two-column{column-count:3}}dl{margin-bottom:2em}dl dl:last-child{margin-bottom:4em}dd{margin:0 0 1em 3em}#header-classes + dl > dd{margin-bottom:3em}dd dd{margin-left:2em}dd p{margin:10px 0}.name{font-weight:bold;font-size:.85em;padding:5px 10px;display:inline-block;min-width:40%}.name > span:first-child{white-space:nowrap}.name.class > span:nth-child(2){margin-left:.4em}.name small{font-weight:normal}.inherited{color:#999;border-left:5px solid #eee;padding-left:1em}.inheritance em{font-style:normal;font-weight:bold}.desc h2{font-weight:400;font-size:1.25em}.desc h3{font-size:1em}.desc dt code{background:inherit}.source summary{color:#666;text-align:right;font-weight:400;font-size:.8em;text-transform:uppercase;cursor:pointer}.source pre{max-height:500px;overflow:auto;margin:0}.source pre code{overflow:visible}.hlist{list-style:none}.hlist li{display:inline}.hlist li:after{content:',\2002'}.hlist li:last-child:after{content:none}.hlist .hlist{display:inline;padding-left:1em}img{max-width:100%}.admonition{padding:.1em .5em}.admonition-title{font-weight:bold}.admonition.note,.admonition.info,.admonition.important{background:#aef}.admonition.todo,.admonition.versionadded,.admonition.tip,.admonition.hint{background:#dfd}.admonition.warning,.admonition.versionchanged,.admonition.deprecated{background:#fd4}.admonition.error,.admonition.danger,.admonition.caution{background:lightpink}</style>
<style media="screen and (min-width: 700px)">@media screen and (min-width:700px){#sidebar{width:30%}#content{width:70%;max-width:100ch;padding:0 4em;border-left:1px solid #ddd}pre code{font-size:1em}.item .name{font-size:1em}main{display:flex;flex-direction:row-reverse;justify-content:flex-end}.toc ul ul,#index ul{padding-left:1.5em}.toc > ul > li{margin-top:.5em}}</style>
<style media="print">@media print{#sidebar h1{page-break-before:always}.source{display:none}}@media print{*{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a[href]:after{content:" (" attr(href) ")";font-size:90%}a[href][title]:after{content:none}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h1,h2,h3,h4,h5,h6{page-break-after:avoid}}</style>
</head>
<body>
<main>
<article id="content">
<header>
<h1 class="title"><code>plotly_express</code></h1>
</header>
<section id="section-intro">
<p><a title="plotly_express" href="#plotly_express"><code>plotly_express</code></a> is a terse, consistent, high-level wrapper around <code>plotly</code> for rapid data exploration and figure generation. See the gallery at <a href="https://plotly.github.io/plotly_express">https://plotly.github.io/plotly_express</a></p>
</section>
<section>
<h2 class="section-title" id="header-submodules">Sub-modules</h2>
<dl>
<dt><code class="name"><a title="plotly_express.colors" href="colors/index.html">plotly_express.colors</a></code></dt>
<dd>
<section class="desc"><p>Built-in qualitative color sequences and sequential, diverging and cyclical color scales.</p></section>
</dd>
<dt><code class="name"><a title="plotly_express.data" href="data/index.html">plotly_express.data</a></code></dt>
<dd>
<section class="desc"><p>Built-in datasets for demonstration, educational and test purposes.</p></section>
</dd>
</dl>
</section>
<section>
</section>
<section>
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="plotly_express.scatter"><code class="name flex">
<span>def <span class="ident">scatter</span></span>(<span>data_frame, x=None, y=None, color=None, opacity=None, symbol=None, size=None, hover_name=None, text=None, facet_row=None, facet_col=None, error_x=None, error_x_minus=None, error_y=None, error_y_minus=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, symbol_sequence=['circle', 'diamond', 'square', 'x', 'cross'], symbol_map={}, size_max=20, marginal_x=None, marginal_y=None, trendline=None, trendline_color_override=None, log_x=False, log_y=False, range_x=None, range_y=None, render_mode='auto', title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a scatter plot, each row of <code>data_frame</code> is represented by a symbol mark in 2D space.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the x axis in cartesian coordinates.</dd>
<dt><strong><code>y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the y axis in cartesian coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>opacity</code></strong></dt>
<dd>(number, between 0 and 1) Sets the opacity for markers.</dd>
<dt><strong><code>symbol</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign symbols to marks.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>facet_row</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the vertical direction.</dd>
<dt><strong><code>facet_col</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the horizontal direction.</dd>
<dt><strong><code>error_x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars. If <code>error_x_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_x</code> is used for the positive direction only.</dd>
<dt><strong><code>error_x_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars in the negative direction. Ignored if <code>error_x</code> is <code>None</code>.</dd>
<dt><strong><code>error_y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars. If <code>error_y_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_y</code> is used for the positive direction only.</dd>
<dt><strong><code>error_y_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars in the negative direction. Ignored if <code>error_y</code> is <code>None</code>.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>symbol_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js symbols) When <code>symbol</code> is set, values in that column are assigned symbols by cycling through <code>symbol_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>symbol</code> is a key in <code>symbol_map</code>.</dd>
<dt><strong><code>symbol_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js symbols, default <code>{}</code>) Used to override <code>symbol_sequence</code> to assign a specific symbols to marks corresponding with specific values. Keys in <code>symbol_map</code> should be values in the column denoted by <code>symbol</code>.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>marginal_x</code></strong></dt>
<dd>(string, one of <code>'rug'</code>, <code>'box'</code>, <code>'violin'</code>, <code>'histogram'</code>) If set, a horizontal subplot is drawn above the main plot, visulizing the x-distribution.</dd>
<dt><strong><code>marginal_y</code></strong></dt>
<dd>(string, one of <code>'rug'</code>, <code>'box'</code>, <code>'violin'</code>, <code>'histogram'</code>) If set, a vertical subplot is drawn to the right of the main plot, visulizing the y-distribution.</dd>
<dt><strong><code>trendline</code></strong></dt>
<dd>(string, one of <code>'ols'</code> or <code>'lowess'</code>, default <code>None</code>) If <code>'ols'</code>, an Ordinary Least Squares regression line will be drawn for each discrete-color/symbol group. If <code>'lowess</code>', a Locally Weighted Scatterplot Smoothing line will be drawn for each discrete-color/symbol group.</dd>
<dt><strong><code>trendline_color_override</code></strong></dt>
<dd>(string, valid CSS color) If provided, and if <code>trendline</code> is set, all trendlines will be drawn in this color.</dd>
<dt><strong><code>log_x</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the x-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>log_y</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the y-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>range_x</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the x-axis in cartesian coordinates.</dd>
<dt><strong><code>range_y</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the y-axis in cartesian coordinates.</dd>
<dt><strong><code>render_mode</code></strong></dt>
<dd>(string, one of <code>'auto'</code>, <code>'svg'</code> or <code>'webgl'</code>, default <code>'auto'</code>) Controls the browser API used to draw marks. <code>'svg</code>' is appropriate for figures of less than 1000 data points, and will allow for fully-vectorized output. <code>'webgl'</code> is likely necessary for acceptable performance above 1000 points but rasterizes part of the output.
<code>'auto'</code> uses heuristics to choose the mode.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.scatter_3d"><code class="name flex">
<span>def <span class="ident">scatter_3d</span></span>(<span>data_frame, x=None, y=None, z=None, color=None, opacity=None, symbol=None, size=None, text=None, hover_name=None, error_x=None, error_x_minus=None, error_y=None, error_y_minus=None, error_z=None, error_z_minus=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, size_max=20, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, symbol_sequence=['circle', 'diamond', 'square', 'x', 'cross'], symbol_map={}, log_x=False, log_y=False, log_z=False, range_x=None, range_y=None, range_z=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a 3D scatter plot, each row of <code>data_frame</code> is represented by a symbol mark in 3D space.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the x axis in cartesian coordinates.</dd>
<dt><strong><code>y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the y axis in cartesian coordinates.</dd>
<dt><strong><code>z</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the z axis in cartesian coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>opacity</code></strong></dt>
<dd>(number, between 0 and 1) Sets the opacity for markers.</dd>
<dt><strong><code>symbol</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign symbols to marks.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>error_x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars. If <code>error_x_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_x</code> is used for the positive direction only.</dd>
<dt><strong><code>error_x_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars in the negative direction. Ignored if <code>error_x</code> is <code>None</code>.</dd>
<dt><strong><code>error_y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars. If <code>error_y_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_y</code> is used for the positive direction only.</dd>
<dt><strong><code>error_y_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars in the negative direction. Ignored if <code>error_y</code> is <code>None</code>.</dd>
<dt><strong><code>error_z</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size z-axis error bars. If <code>error_z_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_z</code> is used for the positive direction only.</dd>
<dt><strong><code>error_z_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size z-axis error bars in the negative direction. Ignored if <code>error_z</code> is <code>None</code>.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>symbol_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js symbols) When <code>symbol</code> is set, values in that column are assigned symbols by cycling through <code>symbol_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>symbol</code> is a key in <code>symbol_map</code>.</dd>
<dt><strong><code>symbol_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js symbols, default <code>{}</code>) Used to override <code>symbol_sequence</code> to assign a specific symbols to marks corresponding with specific values. Keys in <code>symbol_map</code> should be values in the column denoted by <code>symbol</code>.</dd>
<dt><strong><code>log_x</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the x-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>log_y</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the y-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>log_z</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the z-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>range_x</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the x-axis in cartesian coordinates.</dd>
<dt><strong><code>range_y</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the y-axis in cartesian coordinates.</dd>
<dt><strong><code>range_z</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the z-axis in cartesian coordinates.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.scatter_polar"><code class="name flex">
<span>def <span class="ident">scatter_polar</span></span>(<span>data_frame, r=None, theta=None, color=None, opacity=None, symbol=None, size=None, hover_name=None, text=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, symbol_sequence=['circle', 'diamond', 'square', 'x', 'cross'], symbol_map={}, direction='clockwise', start_angle=90, size_max=20, range_r=None, log_r=False, render_mode='auto', title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a polar scatter plot, each row of <code>data_frame</code> is represented by a symbol mark in
polar coordinates.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>r</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the radial axis in polar coordinates.</dd>
<dt><strong><code>theta</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the angular axis in polar coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>opacity</code></strong></dt>
<dd>(number, between 0 and 1) Sets the opacity for markers.</dd>
<dt><strong><code>symbol</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign symbols to marks.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>symbol_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js symbols) When <code>symbol</code> is set, values in that column are assigned symbols by cycling through <code>symbol_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>symbol</code> is a key in <code>symbol_map</code>.</dd>
<dt><strong><code>symbol_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js symbols, default <code>{}</code>) Used to override <code>symbol_sequence</code> to assign a specific symbols to marks corresponding with specific values. Keys in <code>symbol_map</code> should be values in the column denoted by <code>symbol</code>.</dd>
<dt><strong><code>direction</code></strong></dt>
<dd>(string, one of '<code>counterclockwise'</code>, <code>'clockwise'</code>. Default is <code>'clockwise'</code>) Sets the direction in which increasing values of the angular axis are drawn.</dd>
<dt><strong><code>start_angle</code></strong></dt>
<dd>(integer, default is 90) Sets start angle for the angular axis, with 0 being due east and 90 being due north.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>range_r</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the radial axis in polar coordinates.</dd>
<dt><strong><code>log_r</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the radial axis is log-scaled in polar coordinates.</dd>
<dt><strong><code>render_mode</code></strong></dt>
<dd>(string, one of <code>'auto'</code>, <code>'svg'</code> or <code>'webgl'</code>, default <code>'auto'</code>) Controls the browser API used to draw marks. <code>'svg</code>' is appropriate for figures of less than 1000 data points, and will allow for fully-vectorized output. <code>'webgl'</code> is likely necessary for acceptable performance above 1000 points but rasterizes part of the output.
<code>'auto'</code> uses heuristics to choose the mode.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.scatter_ternary"><code class="name flex">
<span>def <span class="ident">scatter_ternary</span></span>(<span>data_frame, a=None, b=None, c=None, color=None, opacity=None, symbol=None, size=None, text=None, hover_name=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, symbol_sequence=['circle', 'diamond', 'square', 'x', 'cross'], symbol_map={}, size_max=20, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a ternary scatter plot, each row of <code>data_frame</code> is represented by a symbol mark in ternary coordinates.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>a</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the a axis in ternary coordinates.</dd>
<dt><strong><code>b</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the b axis in ternary coordinates.</dd>
<dt><strong><code>c</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the c axis in ternary coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>opacity</code></strong></dt>
<dd>(number, between 0 and 1) Sets the opacity for markers.</dd>
<dt><strong><code>symbol</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign symbols to marks.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>symbol_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js symbols) When <code>symbol</code> is set, values in that column are assigned symbols by cycling through <code>symbol_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>symbol</code> is a key in <code>symbol_map</code>.</dd>
<dt><strong><code>symbol_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js symbols, default <code>{}</code>) Used to override <code>symbol_sequence</code> to assign a specific symbols to marks corresponding with specific values. Keys in <code>symbol_map</code> should be values in the column denoted by <code>symbol</code>.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.scatter_mapbox"><code class="name flex">
<span>def <span class="ident">scatter_mapbox</span></span>(<span>data_frame, lat=None, lon=None, color=None, text=None, hover_name=None, size=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, size_max=20, zoom=8, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a Mapbox scatter plot, each row of <code>data_frame</code> is represented by a symbol mark on a Mapbox map.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>lat</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to latitude on a map.</dd>
<dt><strong><code>lon</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to longitude on a map.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>zoom</code></strong></dt>
<dd>(integer between 0 and 20, default is 8) Sets map zoom level.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.scatter_geo"><code class="name flex">
<span>def <span class="ident">scatter_geo</span></span>(<span>data_frame, lat=None, lon=None, locations=None, locationmode=None, color=None, text=None, hover_name=None, size=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, size_max=20, projection=None, scope=None, center=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a geographic scatter plot, each row of <code>data_frame</code> is represented by a symbol mark on a map.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>lat</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to latitude on a map.</dd>
<dt><strong><code>lon</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to longitude on a map.</dd>
<dt><strong><code>locations</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are be interpreted according to <code>locationmode</code> and mapped to longitude/latitude.</dd>
<dt><strong><code>locationmode</code></strong></dt>
<dd>(string, one of 'ISO-3', 'USA-states', 'country names') Determines the set of locations used to match entries in <code>locations</code> to regions on the map.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>projection</code></strong></dt>
<dd>(string, one of <code>'equirectangular'</code>, <code>'mercator'</code>, <code>'orthographic'</code>, <code>'natural earth'</code>, <code>'kavrayskiy7'</code>, <code>'miller'</code>, <code>'robinson'</code>, <code>'eckert4'</code>, <code>'azimuthal equal area'</code>, <code>'azimuthal equidistant'</code>, <code>'conic equal area'</code>, <code>'conic conformal'</code>, <code>'conic equidistant'</code>, <code>'gnomonic'</code>, <code>'stereographic'</code>, <code>'mollweide'</code>, <code>'hammer'</code>, <code>'transverse mercator'</code>, <code>'albers usa'</code>, <code>'winkel tripel'</code>, <code>'aitoff'</code>, <code>'sinusoidal'</code>)Default depends on <code>scope</code>.</dd>
<dt><strong><code>scope</code></strong></dt>
<dd>(string, one of <code>'world'</code>, <code>'usa'</code>, <code>'europe'</code>, <code>'asia'</code>, <code>'africa'</code>, <code>'north america'</code>, <code>'south america'</code>)Default is <code>'world'</code> unless <code>projection</code> is set to <code>'albers usa'</code>, which forces <code>'usa'</code>.</dd>
<dt><strong><code>center</code></strong></dt>
<dd>(dict with <code>lat</code> and <code>lon</code> keys) Sets the center point of the map.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.scatter_matrix"><code class="name flex">
<span>def <span class="ident">scatter_matrix</span></span>(<span>data_frame, dimensions=None, color=None, opacity=None, symbol=None, size=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, symbol_sequence=['circle', 'diamond', 'square', 'x', 'cross'], symbol_map={}, size_max=20, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a scatter plot matrix (or SPLOM), each row of <code>data_frame</code> is represented
by a multiple symbol marks, one in each cell of a grid of 2D scatter plots, which
plot each pair of <code>dimensions</code> against each other.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>dimensions</code></strong></dt>
<dd>(list of strings, names of columns in <code>data_frame</code>) Columns to be used in multidimensional visualization.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>opacity</code></strong></dt>
<dd>(number, between 0 and 1) Sets the opacity for markers.</dd>
<dt><strong><code>symbol</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign symbols to marks.</dd>
<dt><strong><code>size</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign mark sizes.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>symbol_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js symbols) When <code>symbol</code> is set, values in that column are assigned symbols by cycling through <code>symbol_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>symbol</code> is a key in <code>symbol_map</code>.</dd>
<dt><strong><code>symbol_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js symbols, default <code>{}</code>) Used to override <code>symbol_sequence</code> to assign a specific symbols to marks corresponding with specific values. Keys in <code>symbol_map</code> should be values in the column denoted by <code>symbol</code>.</dd>
<dt><strong><code>size_max</code></strong></dt>
<dd>(integer, default 20) Set the maximum mark size when using <code>size</code>.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.density_contour"><code class="name flex">
<span>def <span class="ident">density_contour</span></span>(<span>data_frame, x=None, y=None, color=None, facet_row=None, facet_col=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, marginal_x=None, marginal_y=None, trendline=None, trendline_color_override=None, log_x=False, log_y=False, range_x=None, range_y=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a density contour plot, rows of <code>data_frame</code> are grouped together into contour marks to
visualize the density of their distribution in 2D space.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the x axis in cartesian coordinates.</dd>
<dt><strong><code>y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the y axis in cartesian coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>facet_row</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the vertical direction.</dd>
<dt><strong><code>facet_col</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the horizontal direction.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>marginal_x</code></strong></dt>
<dd>(string, one of <code>'rug'</code>, <code>'box'</code>, <code>'violin'</code>, <code>'histogram'</code>) If set, a horizontal subplot is drawn above the main plot, visulizing the x-distribution.</dd>
<dt><strong><code>marginal_y</code></strong></dt>
<dd>(string, one of <code>'rug'</code>, <code>'box'</code>, <code>'violin'</code>, <code>'histogram'</code>) If set, a vertical subplot is drawn to the right of the main plot, visulizing the y-distribution.</dd>
<dt><strong><code>trendline</code></strong></dt>
<dd>(string, one of <code>'ols'</code> or <code>'lowess'</code>, default <code>None</code>) If <code>'ols'</code>, an Ordinary Least Squares regression line will be drawn for each discrete-color/symbol group. If <code>'lowess</code>', a Locally Weighted Scatterplot Smoothing line will be drawn for each discrete-color/symbol group.</dd>
<dt><strong><code>trendline_color_override</code></strong></dt>
<dd>(string, valid CSS color) If provided, and if <code>trendline</code> is set, all trendlines will be drawn in this color.</dd>
<dt><strong><code>log_x</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the x-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>log_y</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the y-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>range_x</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the x-axis in cartesian coordinates.</dd>
<dt><strong><code>range_y</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the y-axis in cartesian coordinates.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.line"><code class="name flex">
<span>def <span class="ident">line</span></span>(<span>data_frame, x=None, y=None, line_group=None, color=None, line_dash=None, hover_name=None, text=None, facet_row=None, facet_col=None, error_x=None, error_x_minus=None, error_y=None, error_y_minus=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, line_dash_sequence=['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'], line_dash_map={}, log_x=False, log_y=False, range_x=None, range_y=None, line_shape=None, render_mode='auto', title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a 2D line plot, each row of <code>data_frame</code> is represented as vertex of a polyline mark in 2D space.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the x axis in cartesian coordinates.</dd>
<dt><strong><code>y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the y axis in cartesian coordinates.</dd>
<dt><strong><code>line_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to group rows of <code>data_frame</code> into lines.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>line_dash</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign dash-patterns to lines.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>facet_row</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the vertical direction.</dd>
<dt><strong><code>facet_col</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the horizontal direction.</dd>
<dt><strong><code>error_x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars. If <code>error_x_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_x</code> is used for the positive direction only.</dd>
<dt><strong><code>error_x_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars in the negative direction. Ignored if <code>error_x</code> is <code>None</code>.</dd>
<dt><strong><code>error_y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars. If <code>error_y_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_y</code> is used for the positive direction only.</dd>
<dt><strong><code>error_y_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars in the negative direction. Ignored if <code>error_y</code> is <code>None</code>.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>line_dash_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js dash-patterns) When <code>line_dash</code> is set, values in that column are assigned dash-patterns by cycling through <code>line_dash_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>line_dash</code> is a key in <code>line_dash_map</code>.</dd>
<dt><strong><code>line_dash_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js dash-patterns, default <code>{}</code>)Used to override <code>line_dash_sequences</code> to assign a specific dash-patterns to lines corresponding with specific values. Keys in <code>line_dash_map</code> should be values in the column denoted by <code>line_dash</code>.</dd>
<dt><strong><code>log_x</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the x-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>log_y</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the y-axis is log-scaled in cartesian coordinates.</dd>
<dt><strong><code>range_x</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the x-axis in cartesian coordinates.</dd>
<dt><strong><code>range_y</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the y-axis in cartesian coordinates.</dd>
<dt><strong><code>line_shape</code></strong></dt>
<dd>(string, one of <code>'linear'</code> or <code>'spline'</code>) Default is <code>'linear'</code>.</dd>
<dt><strong><code>render_mode</code></strong></dt>
<dd>(string, one of <code>'auto'</code>, <code>'svg'</code> or <code>'webgl'</code>, default <code>'auto'</code>) Controls the browser API used to draw marks. <code>'svg</code>' is appropriate for figures of less than 1000 data points, and will allow for fully-vectorized output. <code>'webgl'</code> is likely necessary for acceptable performance above 1000 points but rasterizes part of the output.
<code>'auto'</code> uses heuristics to choose the mode.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.line_polar"><code class="name flex">
<span>def <span class="ident">line_polar</span></span>(<span>data_frame, r=None, theta=None, color=None, line_dash=None, hover_name=None, line_group=None, text=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, line_dash_sequence=['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'], line_dash_map={}, direction='clockwise', start_angle=90, line_close=False, line_shape=None, render_mode='auto', range_r=None, log_r=False, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a polar line plot, each row of <code>data_frame</code> is represented as vertex of a polyline mark in polar coordinates.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>r</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the radial axis in polar coordinates.</dd>
<dt><strong><code>theta</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the angular axis in polar coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>line_dash</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign dash-patterns to lines.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>line_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to group rows of <code>data_frame</code> into lines.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>line_dash_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js dash-patterns) When <code>line_dash</code> is set, values in that column are assigned dash-patterns by cycling through <code>line_dash_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>line_dash</code> is a key in <code>line_dash_map</code>.</dd>
<dt><strong><code>line_dash_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js dash-patterns, default <code>{}</code>)Used to override <code>line_dash_sequences</code> to assign a specific dash-patterns to lines corresponding with specific values. Keys in <code>line_dash_map</code> should be values in the column denoted by <code>line_dash</code>.</dd>
<dt><strong><code>direction</code></strong></dt>
<dd>(string, one of '<code>counterclockwise'</code>, <code>'clockwise'</code>. Default is <code>'clockwise'</code>) Sets the direction in which increasing values of the angular axis are drawn.</dd>
<dt><strong><code>start_angle</code></strong></dt>
<dd>(integer, default is 90) Sets start angle for the angular axis, with 0 being due east and 90 being due north.</dd>
<dt><strong><code>line_close</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, an extra line segment is drawn between the first and last point.</dd>
<dt><strong><code>line_shape</code></strong></dt>
<dd>(string, one of <code>'linear'</code> or <code>'spline'</code>) Default is <code>'linear'</code>.</dd>
<dt><strong><code>render_mode</code></strong></dt>
<dd>(string, one of <code>'auto'</code>, <code>'svg'</code> or <code>'webgl'</code>, default <code>'auto'</code>) Controls the browser API used to draw marks. <code>'svg</code>' is appropriate for figures of less than 1000 data points, and will allow for fully-vectorized output. <code>'webgl'</code> is likely necessary for acceptable performance above 1000 points but rasterizes part of the output.
<code>'auto'</code> uses heuristics to choose the mode.</dd>
<dt><strong><code>range_r</code></strong></dt>
<dd>(2-element list of numbers) If provided, overrides auto-scaling on the radial axis in polar coordinates.</dd>
<dt><strong><code>log_r</code></strong></dt>
<dd>(boolean, default <code>False</code>) If <code>True</code>, the radial axis is log-scaled in polar coordinates.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.line_ternary"><code class="name flex">
<span>def <span class="ident">line_ternary</span></span>(<span>data_frame, a=None, b=None, c=None, color=None, line_dash=None, line_group=None, hover_name=None, text=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, line_dash_sequence=['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'], line_dash_map={}, line_shape=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a ternary line plot, each row of <code>data_frame</code> is represented as vertex of a polyline mark in ternary coordinates.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>a</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the a axis in ternary coordinates.</dd>
<dt><strong><code>b</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the b axis in ternary coordinates.</dd>
<dt><strong><code>c</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the c axis in ternary coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>line_dash</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign dash-patterns to lines.</dd>
<dt><strong><code>line_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to group rows of <code>data_frame</code> into lines.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>line_dash_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js dash-patterns) When <code>line_dash</code> is set, values in that column are assigned dash-patterns by cycling through <code>line_dash_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>line_dash</code> is a key in <code>line_dash_map</code>.</dd>
<dt><strong><code>line_dash_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js dash-patterns, default <code>{}</code>)Used to override <code>line_dash_sequences</code> to assign a specific dash-patterns to lines corresponding with specific values. Keys in <code>line_dash_map</code> should be values in the column denoted by <code>line_dash</code>.</dd>
<dt><strong><code>line_shape</code></strong></dt>
<dd>(string, one of <code>'linear'</code> or <code>'spline'</code>) Default is <code>'linear'</code>.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.line_mapbox"><code class="name flex">
<span>def <span class="ident">line_mapbox</span></span>(<span>data_frame, lat=None, lon=None, color=None, text=None, hover_name=None, line_group=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, zoom=8, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a Mapbox line plot, each row of <code>data_frame</code> is represented as vertex of a polyline mark on a Mapbox map.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>lat</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to latitude on a map.</dd>
<dt><strong><code>lon</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to longitude on a map.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>line_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to group rows of <code>data_frame</code> into lines.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>zoom</code></strong></dt>
<dd>(integer between 0 and 20, default is 8) Sets map zoom level.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.line_geo"><code class="name flex">
<span>def <span class="ident">line_geo</span></span>(<span>data_frame, lat=None, lon=None, locations=None, locationmode=None, color=None, line_dash=None, text=None, hover_name=None, line_group=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, line_dash_sequence=['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'], line_dash_map={}, projection=None, scope=None, center=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a geographic line plot, each row of <code>data_frame</code> is represented as vertex of a polyline mark on a map.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>lat</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to latitude on a map.</dd>
<dt><strong><code>lon</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks according to longitude on a map.</dd>
<dt><strong><code>locations</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are be interpreted according to <code>locationmode</code> and mapped to longitude/latitude.</dd>
<dt><strong><code>locationmode</code></strong></dt>
<dd>(string, one of 'ISO-3', 'USA-states', 'country names') Determines the set of locations used to match entries in <code>locations</code> to regions on the map.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>line_dash</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign dash-patterns to lines.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>line_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to group rows of <code>data_frame</code> into lines.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>line_dash_sequence</code></strong></dt>
<dd>(list of strings defining plotly.js dash-patterns) When <code>line_dash</code> is set, values in that column are assigned dash-patterns by cycling through <code>line_dash_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>line_dash</code> is a key in <code>line_dash_map</code>.</dd>
<dt><strong><code>line_dash_map</code></strong></dt>
<dd>(dict with string keys and values that are strings defining plotly.js dash-patterns, default <code>{}</code>)Used to override <code>line_dash_sequences</code> to assign a specific dash-patterns to lines corresponding with specific values. Keys in <code>line_dash_map</code> should be values in the column denoted by <code>line_dash</code>.</dd>
<dt><strong><code>projection</code></strong></dt>
<dd>(string, one of <code>'equirectangular'</code>, <code>'mercator'</code>, <code>'orthographic'</code>, <code>'natural earth'</code>, <code>'kavrayskiy7'</code>, <code>'miller'</code>, <code>'robinson'</code>, <code>'eckert4'</code>, <code>'azimuthal equal area'</code>, <code>'azimuthal equidistant'</code>, <code>'conic equal area'</code>, <code>'conic conformal'</code>, <code>'conic equidistant'</code>, <code>'gnomonic'</code>, <code>'stereographic'</code>, <code>'mollweide'</code>, <code>'hammer'</code>, <code>'transverse mercator'</code>, <code>'albers usa'</code>, <code>'winkel tripel'</code>, <code>'aitoff'</code>, <code>'sinusoidal'</code>)Default depends on <code>scope</code>.</dd>
<dt><strong><code>scope</code></strong></dt>
<dd>(string, one of <code>'world'</code>, <code>'usa'</code>, <code>'europe'</code>, <code>'asia'</code>, <code>'africa'</code>, <code>'north america'</code>, <code>'south america'</code>)Default is <code>'world'</code> unless <code>projection</code> is set to <code>'albers usa'</code>, which forces <code>'usa'</code>.</dd>
<dt><strong><code>center</code></strong></dt>
<dd>(dict with <code>lat</code> and <code>lon</code> keys) Sets the center point of the map.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.parallel_coordinates"><code class="name flex">
<span>def <span class="ident">parallel_coordinates</span></span>(<span>data_frame, dimensions=None, color=None, labels={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a parallel coordinates plot, each row of <code>data_frame</code> is represented
by a polyline mark which traverses a set of parallel axes, one for each of the
<code>dimensions</code>.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>dimensions</code></strong></dt>
<dd>(list of strings, names of columns in <code>data_frame</code>) Columns to be used in multidimensional visualization.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.parallel_categories"><code class="name flex">
<span>def <span class="ident">parallel_categories</span></span>(<span>data_frame, dimensions=None, color=None, labels={}, color_continuous_scale=['#0508b8', '#1910d8', '#3c19f0', '#6b1cfb', '#981cfd', '#bf1cfd', '#dd2bfd', '#f246fe', '#fc67fd', '#fe88fc', '#fea5fd', '#febefe', '#fec3fe'], color_continuous_midpoint=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a parallel categories (or parallel sets) plot, each row of <code>data_frame</code> is
grouped with other rows that share the same values of <code>dimensions</code> and then plotted
as a polyline mark through a set of parallel axes, one for each of the <code>dimensions</code>.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>dimensions</code></strong></dt>
<dd>(list of strings, names of columns in <code>data_frame</code>) Columns to be used in multidimensional visualization.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_continuous_scale</code></strong></dt>
<dd>(list of valid CSS-color strings) This list is used to build a continuous color scale when the column denoted by <code>color</code> contains numeric data. Various useful color scales are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.sequential" href="colors/sequential.html"><code>plotly_express.colors.sequential</code></a>, <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> and <a title="plotly_express.colors.cyclical" href="colors/cyclical.html"><code>plotly_express.colors.cyclical</code></a>.</dd>
<dt><strong><code>color_continuous_midpoint</code></strong></dt>
<dd>(number, defaults to <code>None</code>) If set, computes the bounds of the continuous color scale to have the desired midpoint. Setting this value is recommended when using <a title="plotly_express.colors.diverging" href="colors/diverging.html"><code>plotly_express.colors.diverging</code></a> color scales as the inputs to <code>color_continuous_scale</code>.</dd>
<dt><strong><code>title</code></strong></dt>
<dd>(string) The figure title.</dd>
<dt><strong><code>template</code></strong></dt>
<dd>(string or Plotly.py template object) The figure template name or definition.</dd>
<dt><strong><code>width</code></strong></dt>
<dd>(integer, default <code>None</code>) The figure width in pixels.</dd>
<dt><strong><code>height</code></strong></dt>
<dd>(integer, default <code>600</code>) The figure height in pixels.</dd>
</dl>
<h2 id="returns">Returns</h2>
<p>A <a title="plotly_express.ExpressFigure" href="#plotly_express.ExpressFigure"><code>ExpressFigure</code></a> object.</p></section>
</dd>
<dt id="plotly_express.bar"><code class="name flex">
<span>def <span class="ident">bar</span></span>(<span>data_frame, x=None, y=None, color=None, facet_row=None, facet_col=None, hover_name=None, text=None, error_x=None, error_x_minus=None, error_y=None, error_y_minus=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, orientation='v', log_x=False, log_y=False, range_x=None, range_y=None, title=None, template='plotly', width=None, height=600)</span>
</code></dt>
<dd>
<section class="desc"><p>In a bar plot, each row of <code>data_frame</code> is represented as a rectangular mark.</p>
<h2 id="arguments">Arguments</h2>
<dl>
<dt><strong><code>data_frame</code></strong></dt>
<dd>A 'tidy' <code>pandas.DataFrame</code></dd>
<dt><strong><code>x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the x axis in cartesian coordinates.</dd>
<dt><strong><code>y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to position marks along the y axis in cartesian coordinates.</dd>
<dt><strong><code>color</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign color to marks.</dd>
<dt><strong><code>facet_row</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the vertical direction.</dd>
<dt><strong><code>facet_col</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to facetted subplots in the horizontal direction.</dd>
<dt><strong><code>hover_name</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in bold in the hover tooltip.</dd>
<dt><strong><code>text</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column appear in the figure as text labels.</dd>
<dt><strong><code>error_x</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars. If <code>error_x_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_x</code> is used for the positive direction only.</dd>
<dt><strong><code>error_x_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size x-axis error bars in the negative direction. Ignored if <code>error_x</code> is <code>None</code>.</dd>
<dt><strong><code>error_y</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars. If <code>error_y_minus</code> is <code>None</code>, error bars will be symmetrical, otherwise <code>error_y</code> is used for the positive direction only.</dd>
<dt><strong><code>error_y_minus</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to size y-axis error bars in the negative direction. Ignored if <code>error_y</code> is <code>None</code>.</dd>
<dt><strong><code>animation_frame</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to assign marks to animation frames.</dd>
<dt><strong><code>animation_group</code></strong></dt>
<dd>(string, name of column in <code>data_frame</code>) Values from this column are used to provide object-constancy across animation frames: rows with matching <code>animation_group</code>s will be treated as if they describe the same object in each frame.</dd>
<dt><strong><code>category_orders</code></strong></dt>
<dd>(dict with string keys and list-of-string values, default <code>{}</code>) By default, in Python 3.6+, the order of categorical values in axes, legends and facets depends on the order in which these values are first encountered in <code>data_frame</code> (and no order is guaranteed by default in Python below 3.6). This parameter is used to force a specific ordering of values per column. The keys of this dict should correspond to column names, and the values should be lists of strings corresponding to the specific display order desired.</dd>
<dt><strong><code>labels</code></strong></dt>
<dd>(dict with string keys and string values, default <code>{}</code>) By default, column names are used in the figure for axis titles, legend entries and hovers. This parameter allows this to be overridden. The keys of this dict should correspond to column names, and the values should correspond to the desired label to be displayed.</dd>
<dt><strong><code>color_discrete_sequence</code></strong></dt>
<dd>(list of valid CSS-color strings) When <code>color</code> is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through <code>color_discrete_sequence</code> in the order described in <code>category_orders</code>, unless the value of <code>color</code> is a key in <code>color_discrete_map</code>. Various useful color sequences are available in the <a title="plotly_express.colors" href="colors/index.html"><code>plotly_express.colors</code></a> submodules, specifically <a title="plotly_express.colors.qualitative" href="colors/qualitative.html"><code>plotly_express.colors.qualitative</code></a>.</dd>
<dt><strong><code>color_discrete_map</code></strong></dt>
<dd>(dict with string keys and values that are valid CSS-color strings, default <code>{}</code>) Used to override <code>color_discrete_sequence</code> to assign a specific colors to marks corresponding with specific values. Keys in <code>color_discrete_map</code> should be values in the column denoted by <code>color</code>.</dd>
<dt><strong><code>orientation</code></strong></dt>
<dd>(string, one of <code>'h'</code> or <code>'v'</code>) Default is <code>'v'</code>.</dd>
<dt><strong><code>log_x</code></strong></dt>