@@ -6855,21 +6855,21 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
6855
6855
- If int, the number of bins for the two dimensions
6856
6856
(nx=ny=bins).
6857
6857
6858
- - If [int, int], the number of bins in each dimension
6858
+ - If `` [int, int]`` , the number of bins in each dimension
6859
6859
(nx, ny = bins).
6860
6860
6861
6861
- If array_like, the bin edges for the two dimensions
6862
6862
(x_edges=y_edges=bins).
6863
6863
6864
- - If [array, array], the bin edges in each dimension
6864
+ - If `` [array, array]`` , the bin edges in each dimension
6865
6865
(x_edges, y_edges = bins).
6866
6866
6867
6867
The default value is 10.
6868
6868
6869
6869
range : array_like shape(2, 2), optional, default: None
6870
6870
The leftmost and rightmost edges of the bins along each dimension
6871
- (if not specified explicitly in the bins parameters): [[xmin,
6872
- xmax], [ymin, ymax]]. All values outside of this range will be
6871
+ (if not specified explicitly in the bins parameters): `` [[xmin,
6872
+ xmax], [ymin, ymax]]`` . All values outside of this range will be
6873
6873
considered outliers and not tallied in the histogram.
6874
6874
6875
6875
normed : boolean, optional, default: False
@@ -6902,32 +6902,33 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
6902
6902
6903
6903
Other Parameters
6904
6904
----------------
6905
- cmap : {Colormap, string}, optional
6906
- A :class:`matplotlib.colors.Colormap` instance. If not set, use rc
6907
- settings.
6905
+ cmap : Colormap or str, optional
6906
+ A `.colors.Colormap` instance. If not set, use rc settings.
6908
6907
6909
6908
norm : Normalize, optional
6910
- A :class:`matplotlib .colors.Normalize` instance is used to
6909
+ A ` .colors.Normalize` instance is used to
6911
6910
scale luminance data to ``[0, 1]``. If not set, defaults to
6912
- `` Normalize()` `.
6911
+ `.colors. Normalize()`.
6913
6912
6914
- vmin/vmax : { None, scalar} , optional
6915
- Arguments passed to the `Normalize` instance.
6913
+ vmin/vmax : None or scalar, optional
6914
+ Arguments passed to the `~.colors. Normalize` instance.
6916
6915
6917
6916
alpha : ``0 <= scalar <= 1`` or ``None``, optional
6918
6917
The alpha blending value.
6919
6918
6920
6919
See also
6921
6920
--------
6922
- hist : 1D histogram
6921
+ hist : 1D histogram plotting
6923
6922
6924
6923
Notes
6925
6924
-----
6926
- Rendering the histogram with a logarithmic color scale is
6927
- accomplished by passing a :class:`colors.LogNorm` instance to
6928
- the *norm* keyword argument. Likewise, power-law normalization
6929
- (similar in effect to gamma correction) can be accomplished with
6930
- :class:`colors.PowerNorm`.
6925
+ - Currently ``hist2d`` calculates it's own axis limits, and any limits
6926
+ previously set are ignored.
6927
+ - Rendering the histogram with a logarithmic color scale is
6928
+ accomplished by passing a `.colors.LogNorm` instance to the *norm*
6929
+ keyword argument. Likewise, power-law normalization (similar
6930
+ in effect to gamma correction) can be accomplished with
6931
+ `.colors.PowerNorm`.
6931
6932
"""
6932
6933
6933
6934
h , xedges , yedges = np .histogram2d (x , y , bins = bins , range = range ,
0 commit comments