Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit067b77c

Browse files
Bug Fix: Normalize kwargs for Histogram (#29552)
* Normalize kwargs for hist* Avoid shadowing the builtin first!Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent3fa730d commit067b77c

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
frombuiltinsimportrange
70207020

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp