8000 Merge pull request #29814 from meeseeksmachine/auto-backport-of-pr-29… · matplotlib/matplotlib@f5d6737 · GitHub
[go: up one dir, main page]

Skip to content

Commit f5d6737

Browse files
authored
Merge pull request #29814 from meeseeksmachine/auto-backport-of-pr-29552-on-v3.10.x
Backport PR #29552 on branch v3.10.x (Bug Fix: Normalize kwargs for Histogram)
2 parents 1e89088 + 64ff907 commit f5d6737

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7018,6 +7018,8 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
70187018
bin_range = range
70197019
from builtins import range
70207020

7021+
kwargs = cbook.normalize_kwargs(kwargs, mpatches.Patch)
7022+
70217023
if np.isscalar(x):
70227024
x = [x]
70237025

0 commit comments

Comments
 (0)
0