@@ -555,25 +555,23 @@ class in the matplotlib API, and the one you will be working with most
555
555
axis .get_ticklabels ()
556
556
557
557
###############################################################################
558
- # note there are twice as many ticklines as labels because by
559
- # default there are tick lines at the top and bottom but only tick
560
- # labels below the xaxis; this can be customized
558
+ # note there are twice as many ticklines as labels because by default there are
559
+ # tick lines at the top and bottom but only tick labels below the xaxis;
560
+ # however, this can be customized.
561
561
562
562
axis .get_ticklines ()
563
563
564
564
###############################################################################
565
- # by default you get the major ticks back
566
-
567
- axis .get_ticklines ()
568
-
569
- ###############################################################################
570
- # but you can also ask for the minor ticks
565
+ # And with the above methods, you only get lists of major ticks back by default,
566
+ # but you can also ask for the minor ticks:
571
567
568
+ axis .get_ticklabels (minor = True )
572
569
axis .get_ticklines (minor = True )
573
570
571
+ ###############################################################################
574
572
# Here is a summary of some of the useful accessor methods of the ``Axis``
575
573
# (these have corresponding setters where useful, such as
576
- # set_major_formatter)
574
+ # :meth:`~matplotlib.axis.Axis. set_major_formatter`. )
577
575
#
578
576
# ====================== =========================================================
579
577
# Accessor method Description
0 commit comments