Skip to content

Commit 0f51d34

Browse files
timhoffmstory645
andauthored
Apply suggestions from code review
Co-authored-by: hannah <story645@gmail.com>
1 parent 67114f8 commit 0f51d34

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

lib/matplotlib/axis.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,9 +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`. Working
1586-
directly with the grid line objects is typically not necessary, except for
1587-
very special customizations.
1585+
to define and query grid styling; see :ref:`axes-ticks-styling`.
15881586
"""
15891587
ticks = self.get_major_ticks()
15901588
return cbook.silent_list('Line2D gridline',
@@ -1626,9 +1624,7 @@ def get_majorticklabels(self):
16261624
instances; see :ref:`axes-tick-objects`.
16271625
16281626
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1629-
to define and query tick styling; see :ref:`axes-ticks-styling`. Working
1630-
directly with the tick text objects is typically not necessary, except for
1631-
very special customizations.
1627+
to define and query tick styling; see :ref:`axes-ticks-styling`.
16321628
"""
16331629
self._update_ticks()
16341630
ticks = self.get_major_ticks()
@@ -1647,9 +1643,7 @@ def get_minorticklabels(self):
16471643
instances; see :ref:`axes-tick-objects`.
16481644
16491645
You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params`
1650-
to define and query tick styling; see :ref:`axes-ticks-styling`. Working
1651-
directly with the tick text objects is typically not necessary, except for
1652-
very special customizations.
1646+
to define and query tick styling; see :ref:`axes-ticks-styling`.
16531647
"""
16541648
self._update_ticks()
16551649
ticks = self.get_minor_ticks()

0 commit comments

Comments
 (0)