@@ -1500,41 +1500,28 @@ def axis(*v, **kwargs):
1500
1500
1501
1501
def xlabel (s , * args , ** kwargs ):
1502
1502
"""
1503
- Set the *x* axis label of the current axis .
1503
+ Set the x- axis label of the current axes .
1504
1504
1505
- Default override is::
1506
-
1507
- override = {
1508
- 'fontsize' : 'small',
1509
- 'verticalalignment' : 'top',
1510
- 'horizontalalignment' : 'center'
1511
- }
1505
+ Call signature::
1512
1506
1513
- .. seealso::
1507
+ xlabel(label, fontdict=None, labelpad=None, **kwargs)
1514
1508
1515
- :func:`~matplotlib.pyplot.text`
1516
- For information on how override and the optional args work
1509
+ This is just a shortcut for calling `.set_xlabel` on the current axes.
1510
+ See there for a full parameter description.
1517
1511
"""
1518
1512
return gca ().set_xlabel (s , * args , ** kwargs )
1519
1513
1520
1514
1521
1515
def ylabel (s , * args , ** kwargs ):
1522
1516
"""
1523
- Set the *y* axis label of the current axis .
1517
+ Set the y- axis label of the current axes .
1524
1518
1525
- Defaults override is::
1526
-
1527
- override = {
1528
- 'fontsize' : 'small',
1529
- 'verticalalignment' : 'center',
1530
- 'horizontalalignment' : 'right',
1531
- 'rotation'='vertical' : }
1519
+ Call signature::
1532
1520
1533
- .. seealso::
1521
+ ylabel(label, fontdict=None, labelpad=None, **kwargs)
1534
1522
1535
- :func:`~matplotlib.pyplot.text`
1536
- For information on how override and the optional args
1537
- work.
1523
+ This is just a shortcut for calling `.set_ylabel` on the current axes.
1524
+ See there for a full parameter description.
1538
1525
"""
1539
1526
return gca ().set_ylabel (s , * args , ** kwargs )
1540
1527
@@ -1565,7 +1552,7 @@ def xlim(*args, **kwargs):
1565
1552
Notes
1566
1553
-----
1567
1554
This is just a shortcut for calling `~.Axes.get_xlim` or `~.Axes.set_xlim`
1568
- on the current axes. All parameters are passed to the latter.
1555
+ on the current axes.
1569
1556
"""
1570
1557
ax = gca ()
1571
1558
if not args and not kwargs :
@@ -1600,7 +1587,7 @@ def ylim(*args, **kwargs):
1600
1587
Notes
1601
1588
-----
1602
1589
This is just a shortcut for calling `~.Axes.get_ylim` or `~.Axes.set_ylim`
1603
- on the current axes. All parameters are passed to the latter.
1590
+ on the current axes.
1604
1591
"""
1605
1592
ax = gca ()
1606
1593
if not args and not kwargs :
@@ -1679,7 +1666,7 @@ def xticks(*args, **kwargs):
1679
1666
-----
1680
1667
This is just a convenient shortcut for calling `.get_xticks` and
1681
1668
`.get_xticklabels` or `.set_xticks` and `.set_xticklabels` on the current
1682
- axes.
1669
+ axes. All parameters are passed to the latter.
1683
1670
1684
1671
Examples
1685
1672
--------
@@ -1756,7 +1743,7 @@ def yticks(*args, **kwargs):
1756
1743
-----
1757
1744
This is just a convenient shortcut for calling `.get_yticks` and
1758
1745
`.get_yticklabels` or `.set_yticks` and `.set_yticklabels` on the current
1759
- axes.
1746
+ axes. All parameters are passed to the latter.
1760
1747
1761
1748
Examples
1762
1749
--------
0 commit comments