@@ -6462,21 +6462,21 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
6462
6462
- If int, the number of bins for the two dimensions
6463
6463
(nx=ny=bins).
6464
6464
6465
- - If [int, int], the number of bins in each dimension
6465
+ - If `` [int, int]`` , the number of bins in each dimension
6466
6466
(nx, ny = bins).
6467
6467
6468
6468
- If array_like, the bin edges for the two dimensions
6469
6469
(x_edges=y_edges=bins).
6470
6470
6471
- - If [array, array], the bin edges in each dimension
6471
+ - If `` [array, array]`` , the bin edges in each dimension
6472
6472
(x_edges, y_edges = bins).
6473
6473
6474
6474
The default value is 10.
6475
6475
6476
6476
range : array_like shape(2, 2), optional, default: None
6477
6477
The leftmost and rightmost edges of the bins along each dimension
6478
- (if not specified explicitly in the bins parameters): [[xmin,
6479
- xmax], [ymin, ymax]]. All values outside of this range will be
6478
+ (if not specified explicitly in the bins parameters): `` [[xmin,
6479
+ xmax], [ymin, ymax]]`` . All values outside of this range will be
6480
6480
considered outliers and not tallied in the histogram.
6481
6481
6482
6482
normed : bool, optional, default: False
@@ -6510,31 +6510,32 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
6510
6510
Other Parameters
6511
6511
----------------
6512
6512
cmap : Colormap or str, optional
6513
- A :class:`matplotlib.colors.Colormap` instance. If not set, use rc
6514
- settings.
6513
+ A `.colors.Colormap` instance. If not set, use rc settings.
6515
6514
6516
6515
norm : Normalize, optional
6517
- A :class:`matplotlib .colors.Normalize` instance is used to
6516
+ A ` .colors.Normalize` instance is used to
6518
6517
scale luminance data to ``[0, 1]``. If not set, defaults to
6519
- `` Normalize()` `.
6518
+ `.colors. Normalize()`.
6520
6519
6521
6520
vmin/vmax : None or scalar, optional
6522
- Arguments passed to the `Normalize` instance.
6521
+ Arguments passed to the `~.colors. Normalize` instance.
6523
6522
6524
6523
alpha : ``0 <= scalar <= 1`` or ``None``, optional
6525
6524
The alpha blending value.
6526
6525
6527
6526
See also
6528
6527
--------
6529
- hist : 1D histogram
6528
+ hist : 1D histogram plotting
6530
6529
6531
6530
Notes
6532
6531
-----
6533
- Rendering the histogram with a logarithmic color scale is
6534
- accomplished by passing a :class:`colors.LogNorm` instance to
6535
- the *norm* keyword argument. Likewise, power-law normalization
6536
- (similar in effect to gamma correction) can be accomplished with
6537
- :class:`colors.PowerNorm`.
6532
+ - Currently ``hist2d`` calculates it's own axis limits, and any limits
6533
+ previously set are ignored.
6534
+ - Rendering the histogram with a logarithmic color scale is
6535
+ accomplished by passing a `.colors.LogNorm` instance to the *norm*
6536
+ keyword argument. Likewise, power-law normalization (similar
6537
+ in effect to gamma correction) can be accomplished with
6538
+ `.colors.PowerNorm`.
6538
6539
"""
6539
6540
6540
6541
h , xedges , yedges = np .histogram2d (x , y , bins = bins , range = range ,
0 commit comments