Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c71b67

Browse files
committed
Slight simplification.
1 parent b217c3f commit 6c71b67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ def set_ticklabels(self, ticklabels, *, minor=False, **kwargs):
16531653
ret = []
16541654
for pos, (loc, tick) in enumerate(zip(locs, ticks)):
16551655
tick.update_position(loc)
1656-
tick_label = formatter(tick._loc, pos)
1656+
tick_label = formatter(loc, pos)
16571657
# deal with label1
16581658
tick.label1.set_text(tick_label)
16591659
tick.label1.update(kwargs)

0 commit comments

Comments
 (0)