@@ -3819,7 +3819,7 @@ def plot_date(self, x, y, fmt='bo', tz=None, xdate=True, ydate=False,
3819
3819
"""
3820
3820
call signature::
3821
3821
3822
- plot_date(x, y, fmt='bo', tz=None, xdate=True, ydate=False, **kwargs)
3822
+ plot_date(x, y, fmt='bo', tz=None, xdate=True, ydate=False, **kwargs)
3823
3823
3824
3824
Similar to the :func:`~matplotlib.pyplot.plot` command, except
3825
3825
the *x* or *y* (or both) data is considered to be dates, and the
@@ -3830,18 +3830,18 @@ def plot_date(self, x, y, fmt='bo', tz=None, xdate=True, ydate=False,
3830
3830
3831
3831
Keyword arguments:
3832
3832
3833
- *fmt*: string
3834
- The plot format string.
3833
+ *fmt*: string
3834
+ The plot format string.
3835
3835
3836
- *tz*: [ None | timezone string ]
3837
- The time zone to use in labeling dates. If *None*, defaults to rc
3838
- value.
3836
+ *tz*: [ None | timezone string ]
3837
+ The time zone to use in labeling dates. If *None*, defaults to rc
3838
+ value.
3839
3839
3840
- *xdate*: [ True | False ]
3841
- If *True*, the *x*-axis will be labeled with dates.
3840
+ *xdate*: [ True | False ]
3841
+ If *True*, the *x*-axis will be labeled with dates.
3842
3842
3843
- *ydate*: [ False | True ]
3844
- If *True*, the *y*-axis will be labeled with dates.
3843
+ *ydate*: [ False | True ]
3844
+ If *True*, the *y*-axis will be labeled with dates.
3845
3845
3846
3846
Note if you are using custom date tickers and formatters, it
3847
3847
may be necessary to set the formatters/locators after the call
@@ -3861,14 +3861,12 @@ def plot_date(self, x, y, fmt='bo', tz=None, xdate=True, ydate=False,
3861
3861
3862
3862
.. seealso::
3863
3863
3864
- :mod:`~matplotlib.dates`
3865
- for helper functions
3864
+ :mod:`~matplotlib.dates` for helper functions
3866
3865
3867
3866
:func:`~matplotlib.dates.date2num`,
3868
3867
:func:`~matplotlib.dates.num2date` and
3869
- :func:`~matplotlib.dates.drange`
3870
- for help on creating the required floating point
3871
- dates.
3868
+ :func:`~matplotlib.dates.drange` for help on creating the required
3869
+ floating point dates.
3872
3870
"""
3873
3871
3874
3872
if not self ._hold : self .cla ()
@@ -5907,12 +5905,12 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
5907
5905
"""
5908
5906
call signature::
5909
5907
5910
- hexbin(x, y, C = None, gridsize = 100, bins = None,
5911
- xscale = 'linear', yscale = 'linear',
5912
- cmap=None, norm=None, vmin=None, vmax=None,
5913
- alpha=None, linewidths=None, edgecolors='none'
5914
- reduce_C_function = np.mean, mincnt=None, marginals=True
5915
- **kwargs)
5908
+ hexbin(x, y, C = None, gridsize = 100, bins = None,
5909
+ xscale = 'linear', yscale = 'linear',
5910
+ cmap=None, norm=None, vmin=None, vmax=None,
5911
+ alpha=None, linewidths=None, edgecolors='none'
5912
+ reduce_C_function = np.mean, mincnt=None, marginals=True
5913
+ **kwargs)
5916
5914
5917
5915
Make a hexagonal binning plot of *x* versus *y*, where *x*,
5918
5916
*y* are 1-D sequences of the same length, *N*. If *C* is None
@@ -5931,84 +5929,84 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
5931
5929
5932
5930
Optional keyword arguments:
5933
5931
5934
- *gridsize*: [ 100 | integer ]
5935
- The number of hexagons in the *x*-direction, default is
5936
- 100. The corresponding number of hexagons in the
5937
- *y*-direction is chosen such that the hexagons are
5938
- approximately regular. Alternatively, gridsize can be a
5939
- tuple with two elements specifying the number of hexagons
5940
- in the *x*-direction and the *y*-direction.
5932
+ *gridsize*: [ 100 | integer ]
5933
+ The number of hexagons in the *x*-direction, default is
5934
+ 100. The corresponding number of hexagons in the
5935
+ *y*-direction is chosen such that the hexagons are
5936
+ approximately regular. Alternatively, gridsize can be a
5937
+ tuple with two elements specifying the number of hexagons
5938
+ in the *x*-direction and the *y*-direction.
5941
5939
5942
- *bins*: [ None | 'log' | integer | sequence ]
5943
- If *None*, no binning is applied; the color of each hexagon
5944
- directly corresponds to its count value.
5940
+ *bins*: [ None | 'log' | integer | sequence ]
5941
+ If *None*, no binning is applied; the color of each hexagon
5942
+ directly corresponds to its count value.
5945
5943
5946
- If 'log', use a logarithmic scale for the color
5947
- map. Internally, :math:`log_{10}(i+1)` is used to
5948
- determine the hexagon color.
5944
+ If 'log', use a logarithmic scale for the color
5945
+ map. Internally, :math:`log_{10}(i+1)` is used to
5946
+ determine the hexagon color.
5949
5947
5950
- If an integer, divide the counts in the specified number
5951
- of bins, and color the hexagons accordingly.
5948
+ If an integer, divide the counts in the specified number
5949
+ of bins, and color the hexagons accordingly.
5952
5950
5953
- If a sequence of values, the values of the lower bound of
5954
- the bins to be used.
5951
+ If a sequence of values, the values of the lower bound of
5952
+ the bins to be used.
5955
5953
5956
- *xscale*: [ 'linear' | 'log' ]
5957
- Use a linear or log10 scale on the horizontal axis.
5954
+ *xscale*: [ 'linear' | 'log' ]
5955
+ Use a linear or log10 scale on the horizontal axis.
5958
5956
5959
- *scale*: [ 'linear' | 'log' ]
5960
- Use a linear or log10 scale on the vertical axis.
5957
+ *scale*: [ 'linear' | 'log' ]
5958
+ Use a linear or log10 scale on the vertical axis.
5961
5959
5962
- *mincnt*: None | a positive integer
5963
- If not None, only display cells with more than *mincnt*
5964
- number of points in the cell
5960
+ *mincnt*: None | a positive integer
5961
+ If not None, only display cells with more than *mincnt*
5962
+ number of points in the cell
5965
5963
5966
- *marginals*: True|False
5967
- if marginals is True, plot the marginal density as
5968
- colormapped rectagles along the bottom of the x-axis and
5969
- left of the y-axis
5964
+ *marginals*: True|False
5965
+ if marginals is True, plot the marginal density as
5966
+ colormapped rectagles along the bottom of the x-axis and
5967
+ left of the y-axis
5970
5968
5971
- *extent*: [ None | scalars (left, right, bottom, top) ]
5972
- The limits of the bins. The default assigns the limits
5973
- based on gridsize, x, y, xscale and yscale.
5969
+ *extent*: [ None | scalars (left, right, bottom, top) ]
5970
+ The limits of the bins. The default assigns the limits
5971
+ based on gridsize, x, y, xscale and yscale.
5974
5972
5975
5973
Other keyword arguments controlling color mapping and normalization
5976
5974
arguments:
5977
5975
5978
- *cmap*: [ None | Colormap ]
5979
- a :class:`matplotlib.cm.Colormap` instance. If *None*,
5980
- defaults to rc ``image.cmap``.
5976
+ *cmap*: [ None | Colormap ]
5977
+ a :class:`matplotlib.cm.Colormap` instance. If *None*,
5978
+ defaults to rc ``image.cmap``.
5981
5979
5982
- *norm*: [ None | Normalize ]
5983
- :class:`matplotlib.colors.Normalize` instance is used to
5984
- scale luminance data to 0,1.
5980
+ *norm*: [ None | Normalize ]
5981
+ :class:`matplotlib.colors.Normalize` instance is used to
5982
+ scale luminance data to 0,1.
5985
5983
5986
- *vmin*/*vmax*: scalar
5987
- *vmin* and *vmax* are used in conjunction with *norm* to normalize
5988
- luminance data. If either are *None*, the min and max of the color
5989
- array *C* is used. Note if you pass a norm instance, your settings
5990
- for *vmin* and *vmax* will be ignored.
5984
+ *vmin*/*vmax*: scalar
5985
+ *vmin* and *vmax* are used in conjunction with *norm* to normalize
5986
+ luminance data. If either are *None*, the min and max of the color
5987
+ array *C* is used. Note if you pass a norm instance, your settings
5988
+ for *vmin* and *vmax* will be ignored.
5991
5989
5992
- *alpha*: scalar between 0 and 1, or None
5993
- the alpha value for the patches
5990
+ *alpha*: scalar between 0 and 1, or None
5991
+ the alpha value for the patches
5994
5992
5995
- *linewidths*: [ None | scalar ]
5996
- If *None*, defaults to rc lines.linewidth. Note that this
5997
- is a tuple, and if you set the linewidths argument you
5998
- must set it as a sequence of floats, as required by
5999
- :class:`~matplotlib.collections.RegularPolyCollection`.
5993
+ *linewidths*: [ None | scalar ]
5994
+ If *None*, defaults to rc lines.linewidth. Note that this
5995
+ is a tuple, and if you set the linewidths argument you
5996
+ must set it as a sequence of floats, as required by
5997
+ :class:`~matplotlib.collections.RegularPolyCollection`.
6000
5998
6001
5999
Other keyword arguments controlling the Collection properties:
6002
6000
6003
- *edgecolors*: [ None | mpl color | color sequence ]
6004
- If 'none', draws the edges in the same color as the fill color.
6005
- This is the default, as it avoids unsightly unpainted pixels
6006
- between the hexagons.
6001
+ *edgecolors*: [ None | mpl color | color sequence ]
6002
+ If 'none', draws the edges in the same color as the fill color.
6003
+ This is the default, as it avoids unsightly unpainted pixels
6004
+ between the hexagons.
6007
6005
6008
- If *None*, draws the outlines in the default color.
6006
+ If *None*, draws the outlines in the default color.
6009
6007
6010
- If a matplotlib color arg or sequence of rgba tuples, draws the
6011
- outlines in the specified color.
6008
+ If a matplotlib color arg or sequence of rgba tuples, draws the
6009
+ outlines in the specified color.
6012
6010
6013
6011
Here are the standard descriptions of all the
6014
6012
:class:`~matplotlib.collections.Collection` kwargs:
0 commit comments