8000 Apply suggestions from code review · matplotlib/matplotlib@5ad94a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ad94a9

Browse files
timhoffmanntzer
andcommitted
Apply suggestions from code review
Co-Authored-By: anntzer <anntzer.lee@gmail.com>
1 parent 8de1602 commit 5ad94a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/matplotlib/colorbar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def set_ticklabels(self, ticklabels, update_ticks=True):
587587
Set tick labels.
588588
589589
Tick labels are updated immediately unless *update_ticks* is *False*,
590-
in which case one should call `~.update_ticks` explicitly.
590+
in which case one should call `.update_ticks` explicitly.
591591
"""
592592
if isinstance(self.locator, ticker.FixedLocator):
593593
self.formatter = ticker.FixedFormatter(ticklabels)
@@ -865,7 +865,7 @@ def _find_range(self):
865865
self.vmax = b[-1]
866866

867867
def _central_N(self):
868-
"""Return the number of boundaries **excluding** end extensions."""
868+
"""Return the number of boundaries excluding end extensions."""
869869
nb = len(self._boundaries)
870870
if self.extend == 'both':
871871
nb -= 2
@@ -1132,7 +1132,7 @@ def update_normal(self, mappable):
11321132
"""
11331133
Update solid patches, lines, etc.
11341134
1135-
Unlike `~.update_bruteforce`, this does not clear the axes. This is
1135+
Unlike `.update_bruteforce`, this does not clear the axes. This is
11361136
meant to be called when the image or contour plot to which this
11371137
colorbar belongs changes.
11381138
"""

lib/matplotlib/textpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def get_glyphs_mathtext(self, prop, s, glyph_map=None,
283283
glyph_map_new, myrects)
284284

285285
def get_texmanager(self):
286-
"""Return a cached `~.texmanager.TexManager` instance."""
286+
"""Return the cached `~.texmanager.TexManager` instance."""
287287
if self._texmanager is None:
288288
from matplotlib.texmanager import TexManager
289289
self._texmanager = TexManager()

0 commit comments

Comments
 (0)
0