@@ -1631,40 +1631,45 @@ def semilogx(self, *args, **kwargs):
1631
1631
# @_preprocess_data() # let 'plot' do the unpacking..
1632
1632
@docstring .dedent_interpd
1633
1633
def semilogy (self , * args , ** kwargs ):
1634
- r"""Make a plot with log scaling on the `y` axis.
1634
+ """
1635
+ Make a plot with log scaling on the *y* axis.
1635
1636
1636
1637
Parameters
1637
1638
----------
1638
- basey : scalar > 1
1639
- Base of the `y` logarithm.
1639
+ basey : float, optional
1640
+ Base of the *y* logarithm. The scalar should be larger
1641
+ than 1.
1640
1642
1641
- subsy : None or iterable
1642
- The location of the minor yticks. None defaults to
1643
+ subsy : array_like, optional
1644
+ The location of the minor yticks; * None* defaults to
1643
1645
autosubs, which depend on the number of decades in the
1644
- plot. See :meth:`~matplotlib.axes.Axes.set_yscale` for
1646
+ plot; see :meth:`~matplotlib.axes.Axes.set_yscale` for
1645
1647
details.
1646
1648
1647
- nonposy : {'mask' | 'clip'} str
1648
- Non-positive values in `y` can be masked as
1649
+ nonposy : string, optional, {'mask', 'clip'}
1650
+ Non-positive values in *y* can be masked as
1649
1651
invalid, or clipped to a very small positive number.
1650
1652
1651
1653
Returns
1652
1654
-------
1653
- `~matplotlib.lines.Line2D `
1654
- Line instance of the plot .
1655
+ `~matplotlib.pyplot.plot `
1656
+ Log-scaled plot on the *y* axis .
1655
1657
1656
1658
Other Parameters
1657
1659
----------------
1658
1660
**kwargs :
1659
- This function supports all the keyword arguments of
1660
- :func:`~matplotlib.pyplot.plot` and
1661
- :meth:`matplotlib.axes.Axes.set_xscale`.
1662
-
1663
- Keyword arguments also control the
1664
- :class:`~matplotlib.lines.Line2D` properties:
1661
+ Keyword arguments control the :class:`~matplotlib.lines.Line2D`
1662
+ properties:
1665
1663
1666
1664
%(Line2D)s
1665
+
1666
+ Notes
1667
+ -----
1668
+ This function supports all the keyword arguments of
1669
+ :func:`~matplotlib.pyplot.plot` and
1670
+ :meth:`matplotlib.axes.Axes.set_yscale`.
1667
1671
"""
1672
+
1668
1673
if not self ._hold :
1669
1674
self .cla ()
1670
1675
d = {'basey' : kwargs .pop ('basey' , 10 ),
0 commit comments