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

Appearance settings

Commit c178929

Browse filesBrowse files
authored
Merge pull request #15375 from EJEP/note_hist_speed
Add note to hist docstring about speed
2 parents f7e7e46 + 2526b4d commit c178929
Copy full SHA for c178929

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6603,6 +6603,11 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
66036603
--------
66046604
hist2d : 2D histograms
66056605
6606+
Notes
6607+
-----
6608+
For large numbers of bins (>1000), 'step' and 'stepfilled' can be
6609+
significantly faster than 'bar' and 'barstacked'.
6610+
66066611
"""
66076612
# Avoid shadowing the builtin.
66086613
bin_range = range

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.