Skip to content

Commit 28a819d

Browse files
timhoffmstory645
andauthored
Apply suggestions from code review
Co-authored-by: hannah <story645@gmail.com> Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 0f51d34 commit 28a819d

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

lib/matplotlib/axis.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ def get_gridlines(self):
15821582
instances; see :ref:`axes-tick-objects`.
15831583
15841584
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1585-
to define and query grid styling; see :ref:`axes-ticks-styling`.
1585+
to define and query grid styling; see :ref:`axes-ticks-styling`.
15861586
"""
15871587
ticks = self.get_major_ticks()
15881588
return cbook.silent_list('Line2D gridline',
@@ -1643,7 +1643,7 @@ def get_minorticklabels(self):
16431643
instances; see :ref:`axes-tick-objects`.
16441644
16451645
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1646-
to define and query tick styling; see :ref:`axes-ticks-styling`.
1646+
to define and query tick styling; see :ref:`axes-ticks-styling`.
16471647
"""
16481648
self._update_ticks()
16491649
ticks = self.get_minor_ticks()
@@ -1662,9 +1662,7 @@ def get_ticklabels(self, minor=False, which=None):
16621662
instances; see :ref:`axes-tick-objects`.
16631663
16641664
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1665-
to define and query tick styling; see :ref:`axes-ticks-styling`. Working
1666-
directly with the tick text objects is typically not necessary, except for
1667-
very special customizations.
1665+
to define and query tick styling; see :ref:`axes-ticks-styling`.
16681666
16691667
Parameters
16701668
----------
@@ -1704,9 +1702,7 @@ def get_majorticklines(self):
17041702
instances; see :ref:`axes-tick-objects`.
17051703
17061704
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1707-
to define and query tick styling; see :ref:`axes-ticks-styling`. Working
1708-
directly with the tick line objects is typically not necessary, except for
1709-
very special customizations.
1705+
to define and query tick styling; see :ref:`axes-ticks-styling`.
17101706
"""
17111707
lines = []
17121708
ticks = self.get_major_ticks()
@@ -1748,9 +1744,7 @@ def get_ticklines(self, minor=False):
17481744
instances; see :ref:`axes-tick-objects`.
17491745
17501746
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1751-
to define and query tick styling; see :ref:`axes-ticks-styling`. Working
1752-
directly with the tick line objects is typically not necessary, except for
1753-
very special customizations.
1747+
to define and query tick styling; see :ref:`axes-ticks-styling`.
17541748
"""
17551749
if minor:
17561750
return self.get_minorticklines()

0 commit comments

Comments
 (0)