Skip to content

Commit 5d713d0

Browse files
skip legend arg in pandas hist
1 parent dc9c5fd commit 5d713d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def hist_frame(data_frame, **kwargs):
158158
from .express import histogram
159159

160160
skip = ["column", "by", "grid", "xlabelsize", "xrot", "ylabelsize", "yrot"]
161-
skip += ["ax", "sharex", "sharey", "figsize", "layout", "bins"]
161+
skip += ["ax", "sharex", "sharey", "figsize", "layout", "bins", "legend"]
162162
new_kwargs = {k: kwargs[k] for k in kwargs if k not in skip}
163163
return histogram(data_frame, **new_kwargs)
164164

0 commit comments

Comments
 (0)