@@ -236,7 +236,7 @@ def area(
236
236
labels = {},
237
237
color_discrete_sequence = None ,
238
238
color_discrete_map = {},
239
- orientation = "v" ,
239
+ orientation = None ,
240
240
groupnorm = None ,
241
241
log_x = False ,
242
242
log_y = False ,
@@ -256,9 +256,7 @@ def area(
256
256
return make_figure (
257
257
args = locals (),
258
258
constructor = go .Scatter ,
259
- trace_patch = dict (
260
- stackgroup = 1 , mode = "lines" , orientation = orientation , groupnorm = groupnorm
261
- ),
259
+ trace_patch = dict (stackgroup = 1 , mode = "lines" , groupnorm = groupnorm ),
262
260
)
263
261
264
262
@@ -291,7 +289,7 @@ def bar(
291
289
range_color = None ,
292
290
color_continuous_midpoint = None ,
293
291
opacity = None ,
294
- orientation = "v" ,
292
+ orientation = None ,
295
293
barmode = "relative" ,
296
294
log_x = False ,
297
295
log_y = False ,
@@ -335,7 +333,7 @@ def histogram(
335
333
color_discrete_map = {},
336
334
marginal = None ,
337
335
opacity = None ,
338
- orientation = "v" ,
336
+ orientation = None ,
339
337
barmode = "relative" ,
340
338
barnorm = None ,
341
339
histnorm = None ,
@@ -361,13 +359,7 @@ def histogram(
361
359
args = locals (),
362
360
constructor = go .Histogram ,
363
361
trace_patch = dict (
364
- orientation = orientation ,
365
- histnorm = histnorm ,
366
- histfunc = histfunc ,
367
- nbinsx = nbins if orientation == "v" else None ,
368
- nbinsy = None if orientation == "v" else nbins ,
369
- cumulative = dict (enabled = cumulative ),
370
- bingroup = "x" if orientation == "v" else "y" ,
362
+ histnorm = histnorm , histfunc = histfunc , cumulative = dict (enabled = cumulative ),
371
363
),
372
364
layout_patch = dict (barmode = barmode , barnorm = barnorm ),
373
365
)
@@ -393,7 +385,7 @@ def violin(
393
385
labels = {},
394
386
color_discrete_sequence = None ,
395
387
color_discrete_map = {},
396
- orientation = "v" ,
388
+ orientation = None ,
397
389
violinmode = "group" ,
398
390
log_x = False ,
399
391
log_y = False ,
@@ -414,12 +406,7 @@ def violin(
414
406
args = locals (),
415
407
constructor = go .Violin ,
416
408
trace_patch = dict (
417
- orientation = orientation ,
418
- points = points ,
419
- box = dict (visible = box ),
420
- scalegroup = True ,
421
- x0 = " " ,
422
- y0 = " " ,
409
+ points = points , box = dict (visible = box ), scalegroup = True , x0 = " " , y0 = " " ,
423
410
),
424
411
layout_patch = dict (violinmode = violinmode ),
425
412
)
@@ -445,7 +432,7 @@ def box(
445
432
labels = {},
446
433
color_discrete_sequence = None ,
447
434
color_discrete_map = {},
448
- orientation = "v" ,
435
+ orientation = None ,
449
436
boxmode = "group" ,
450
437
log_x = False ,
451
438
log_y = False ,
@@ -470,9 +457,7 @@ def box(
470
457
return make_figure (
471
458
args = locals (),
472
459
constructor = go .Box ,
473
- trace_patch = dict (
474
- orientation = orientation , boxpoints = points , notched = notched , x0 = " " , y0 = " "
475
- ),
460
+ trace_patch = dict (boxpoints = points , notched = notched , x0 = " " , y0 = " " ),
476
461
layout_patch = dict (boxmode = boxmode ),
477
462
)
478
463
@@ -497,7 +482,7 @@ def strip(
497
482
labels = {},
498
483
color_discrete_sequence = None ,
499
484
color_discrete_map = {},
500
- orientation = "v" ,
485
+ orientation = None ,
501
486
stripmode = "group" ,
502
487
log_x = False ,
503
488
log_y = False ,
@@ -516,7 +501,6 @@ def strip(
516
501
args = locals (),
517
502
constructor = go .Box ,
518
503
trace_patch = dict (
519
- orientation = orientation ,
520
504
boxpoints = "all" ,
521
505
pointpos = 0 ,
522
506
hoveron = "points" ,
@@ -1398,9 +1382,7 @@ def funnel(
1398
1382
In a funnel plot, each row of `data_frame` is represented as a
1399
1383
rectangular sector of a funnel.
1400
1384
"""
1401
- return make_figure (
1402
- args = locals (), constructor = go .Funnel , trace_patch = dict (orientation = orientation ),
1403
- )
1385
+ return make_figure (args = locals (), constructor = go .Funnel ,)
1404
1386
1405
1387
1406
1388
funnel .__doc__ = make_docstring (funnel )
0 commit comments