@@ -1604,41 +1604,40 @@ def semilogx(self, *args, **kwargs):
1604
1604
# @_preprocess_data() # let 'plot' do the unpacking..
1605
1605
@docstring .dedent_interpd
1606
1606
def semilogy (self , * args , ** kwargs ):
1607
- """
1608
- Make a plot with log scaling on the *y* axis.
1609
-
1610
- call signature::
1611
-
1612
- semilogy(*args, **kwargs)
1607
+ r"""Make a plot with log scaling on the `y` axis.
1613
1608
1614
- :func:`semilogy` supports all the keyword arguments of
1615
- :func:`~matplotlib.pylab.plot` and
1616
- :meth:`matplotlib.axes.Axes.set_yscale`.
1617
-
1618
- Notable keyword arguments:
1619
-
1620
- *basey*: scalar > 1
1621
- Base of the *y* logarithm
1609
+ Parameters
1610
+ ----------
1611
+ basey : scalar > 1
1612
+ Base of the `y` logarithm.
1622
1613
1623
- * subsy*: [ * None* | sequence ]
1624
- The location of the minor yticks; * None* defaults to
1614
+ subsy : None or iterable
1615
+ The location of the minor yticks. None defaults to
1625
1616
autosubs, which depend on the number of decades in the
1626
- plot; see :meth:`~matplotlib.axes.Axes.set_yscale` for
1617
+ plot. See :meth:`~matplotlib.axes.Axes.set_yscale` for
1627
1618
details.
1628
1619
1629
- * nonposy*: [ 'mask' | 'clip' ]
1630
- Non-positive values in *y* can be masked as
1631
- invalid, or clipped to a very small positive number
1620
+ nonposy : { 'mask' | 'clip'} str
1621
+ Non-positive values in `y` can be masked as
1622
+ invalid, or clipped to a very small positive number.
1632
1623
1633
- The remaining valid kwargs are
1634
- :class:`~matplotlib.lines.Line2D` properties:
1624
+ Returns
1625
+ -------
1626
+ `~matplotlib.lines.Line2D`
1627
+ Line instance of the plot.
1628
+
1629
+ Other Parameters
1630
+ ----------------
1631
+ kwargs : `~matplotlib.lines.Line2D` properties,
1632
+ `~matplotlib.pylab.plot` and
1633
+ `matplotlib.axes.Axes.set_yscale` arguments.
1635
1634
1636
1635
%(Line2D)s
1637
1636
1638
- .. seealso::
1637
+ See also
1638
+ --------
1639
+ :meth:`loglog`: For example code and figure.
1639
1640
1640
- :meth:`loglog`
1641
- For example code and figure
1642
1641
"""
1643
1642
if not self ._hold :
1644
1643
self .cla ()
0 commit comments