@@ -6858,42 +6858,39 @@ def hist2d(self, x, y, bins=10, range=None, density=False, weights=None,
6858
6858
6859
6859
The bin specification:
6860
6860
6861
- - If int, the number of bins for the two dimensions
6862
- (nx=ny=bins).
6863
-
6864
- - If ``[int, int]``, the number of bins in each dimension
6865
- (nx, ny = bins).
6866
-
6867
- - If array_like, the bin edges for the two dimensions
6868
- (x_edges=y_edges=bins).
6869
-
6870
- - If ``[array, array]``, the bin edges in each dimension
6871
- (x_edges, y_edges = bins).
6861
+ - If int, the number of bins for the two dimensions
6862
+ (nx=ny=bins).
6863
+ - If ``[int, int]``, the number of bins in each dimension
6864
+ (nx, ny = bins).
6865
+ - If array_like, the bin edges for the two dimensions
6866
+ (x_edges=y_edges=bins).
6867
+ - If ``[array, array]``, the bin edges in each dimension
6868
+ (x_edges, y_edges = bins).
6872
6869
6873
6870
The default value is 10.
6874
6871
6875
6872
range : array_like shape(2, 2), optional, default: None
6876
- The leftmost and rightmost edges of the bins along each dimension
6877
- (if not specified explicitly in the bins parameters): ``[[xmin,
6878
- xmax], [ymin, ymax]]``. All values outside of this range will be
6879
- considered outliers and not tallied in the histogram.
6873
+ The leftmost and rightmost edges of the bins along each dimension
6874
+ (if not specified explicitly in the bins parameters): ``[[xmin,
6875
+ xmax], [ymin, ymax]]``. All values outside of this range will be
6876
+ considered outliers and not tallied in the histogram.
6880
6877
6881
6878
density : bool, optional, default: False
6882
- Normalize histogram. *normed* is a deprecated synonym for this
6883
- parameter.
6879
+ Normalize histogram. *normed* is a deprecated synonym for this
6880
+ parameter.
6884
6881
6885
6882
weights : array_like, shape (n, ), optional, default: None
6886
6883
An array of values w_i weighing each sample (x_i, y_i).
6887
6884
6888
6885
cmin : scalar, optional, default: None
6889
- All bins that has count less than cmin will not be displayed and
6890
- these count values in the return value count histogram will also
6891
- be set to nan upon return
6886
+ All bins that has count less than cmin will not be displayed (set
6887
+ to NaN before passing to imshow) and these count values in the
6888
+ return value count histogram will also be set to nan upon return.
6892
6889
6893
6890
cmax : scalar, optional, default: None
6894
- All bins that has count more than cmax will not be displayed (set
6895
- to none before passing to imshow) and these count values in the
6896
- return value count histogram will also be set to nan upon return
6891
+ All bins that has count more than cmax will not be displayed (set
6892
+ to NaN before passing to imshow) and these count values in the
6893
+ return value count histogram will also be set to nan upon return.
6897
6894
6898
6895
Returns
6899
6896
-------
@@ -6929,7 +6926,7 @@ def hist2d(self, x, y, bins=10, range=None, density=False, weights=None,
6929
6926
6930
6927
Notes
6931
6928
-----
6932
- - Currently ``hist2d`` calculates it's own axis limits, and any limits
6929
+ - Currently ``hist2d`` calculates its own axis limits, and any limits
6933
6930
previously set are ignored.
6934
6931
- Rendering the histogram with a logarithmic color scale is
6935
6932
accomplished by passing a `.colors.LogNorm` instance to the *norm*
0 commit comments