8000 Fix a delimiter and make some changes on explanation. · matplotlib/matplotlib@da8ccdc · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit da8ccdc

Browse files
committed
Fix a delimiter and make some changes on explanation.
1 parent 6002943 commit da8ccdc

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

tutorials/intermediate/artists.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -555,25 +555,23 @@ class in the matplotlib API, and the one you will be working with most
555555
axis.get_ticklabels()
556556

557557
###############################################################################
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.
561561

562562
axis.get_ticklines()
563563

564564
###############################################################################
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:
571567

568+
axis.get_ticklabels(minor=True)
572569
axis.get_ticklines(minor=True)
573570

571+
###############################################################################
574572
# Here is a summary of some of the useful accessor methods of the ``Axis``
575573
# (these have corresponding setters where useful, such as
576-
# set_major_formatter)
574+
# :meth:`~matplotlib.axis.Axis.set_major_formatter`.)
577575
#
578576
# ====================== =========================================================
579577
# Accessor method Description

0 commit comments

Comments
 (0)
0