Skip to content

Commit 00c8d39

Browse files
authored
Merge pull request #25510 from anntzer/ufsl
Remove unnecessary calls to Formatter.set_locs.
2 parents ecf8da3 + 8dfd0f8 commit 00c8d39

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/axis.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,15 +1249,13 @@ def _update_ticks(self):
12491249
major_locs = self.get_majorticklocs()
12501250
major_labels = self.major.formatter.format_ticks(major_locs)
12511251
major_ticks = self.get_major_ticks(len(major_locs))
1252-
self.major.formatter.set_locs(major_locs)
12531252
for tick, loc, label in zip(major_ticks, major_locs, major_labels):
12541253
tick.update_position(loc)
12551254
tick.set_label1(label)
12561255
tick.set_label2(label)
12571256
minor_locs = self.get_minorticklocs()
12581257
minor_labels = self.minor.formatter.format_ticks(minor_locs)
12591258
minor_ticks = self.get_minor_ticks(len(minor_locs))
1260-
self.minor.formatter.set_locs(minor_locs)
12611259
for tick, loc, label in zip(minor_ticks, minor_locs, minor_labels):
12621260
tick.update_position(loc)
12631261
tick.set_label1(label)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy