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