Skip to content

Commit e67026c

Browse files
authored
Merge pull request #8167 from katzenbaer/fixes-artists-docs
Fixes typos in Artist tutorial
2 parents 1182770 + 14071f6 commit e67026c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/users/artists.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Object containers
238238

239239

240240
Now that we know how to inspect and set the properties of a given
241-
object we want to configure, we need to now how to get at that object.
241+
object we want to configure, we need to know how to get at that object.
242242
As mentioned in the introduction, there are two kinds of objects:
243243
primitives and containers. The primitives are usually the things you
244244
want to configure (the font of a :class:`~matplotlib.text.Text`
@@ -497,7 +497,7 @@ containers will be detailed below, but note that the ``Axes`` contains
497497
many helper methods which forward calls on to the
498498
:class:`~matplotlib.axis.Axis` instances so you often do not need to
499499
work with them directly unless you want to. For example, you can set
500-
the font size of the ``XAxis`` ticklabels using the ``Axes`` helper
500+
the font color of the ``XAxis`` ticklabels using the ``Axes`` helper
501501
method::
502502

503503
for label in ax.get_xticklabels():
@@ -544,8 +544,8 @@ ticklabels. Because the ticks are dynamically created as needed (e.g., when
544544
panning and zooming), you should access the lists of major and minor ticks
545545
through their accessor methods :meth:`~matplotlib.axis.Axis.get_major_ticks`
546546
and :meth:`~matplotlib.axis.Axis.get_minor_ticks`. Although the ticks contain
547-
all the primitives and will be covered below, the ``Axis`` methods contain
548-
accessor methods to return the tick lines, tick labels, tick locations etc.:
547+
all the primitives and will be covered below, ``Axis`` instances have accessor
548+
methods that return the tick lines, tick labels, tick locations etc.:
549549

550550
.. sourcecode:: ipython
551551

@@ -625,11 +625,11 @@ tick2line Line2D instance
625625
gridline Line2D instance
626626
label1 Text instance
627627
label2 Text instance
628-
gridOn boolean which determines whether to draw the tickline
628+
gridOn boolean which determines whether to draw the gridline
629629
tick1On boolean which determines whether to draw the 1st tickline
630630
tick2On boolean which determines whether to draw the 2nd tickline
631-
label1On boolean which determines whether to draw tick label
632-
label2On boolean which determines whether to draw tick label
631+
label1On boolean which determines whether to draw the 1st tick label
632+
label2On boolean which determines whether to draw the 2nd tick label
633633
============== ==========================================================
634634

635635
Here is an example which sets the formatter for the right side ticks with

0 commit comments

Comments
 (0)