Skip to content

Commit 87d9984

Browse files
cleanup
1 parent 9bfd172 commit 87d9984

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: packages/python/plotly/plotly/express/_chart_types.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def bar(
307307
return make_figure(
308308
args=locals(),
309309
constructor=go.Bar,
310-
trace_patch=dict(orientation=orientation, textposition="auto"),
310+
trace_patch=dict(textposition="auto"),
311311
layout_patch=dict(barmode=barmode),
312312
)
313313

@@ -1368,7 +1368,7 @@ def funnel(
13681368
color_discrete_sequence=None,
13691369
color_discrete_map={},
13701370
opacity=None,
1371-
orientation="h",
1371+
orientation=None,
13721372
log_x=False,
13731373
log_y=False,
13741374
range_x=None,
@@ -1382,7 +1382,7 @@ def funnel(
13821382
In a funnel plot, each row of `data_frame` is represented as a
13831383
rectangular sector of a funnel.
13841384
"""
1385-
return make_figure(args=locals(), constructor=go.Funnel,)
1385+
return make_figure(args=locals(), constructor=go.Funnel)
13861386

13871387

13881388
funnel.__doc__ = make_docstring(funnel)

0 commit comments

Comments
 (0)