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

Skip to content

Commit 070897e

Browse files
authored
Merge pull request #22070 from meeseeksmachine/auto-backport-of-pr-22069-on-v3.5.x
Backport PR #22069 on branch v3.5.x ([Doc] Fix typo in `units.py` documentation example)
2 parents 046507e + 4a8ce85 commit 070897e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def axisinfo(unit, axis):
2929
return None
3030
majloc = dates.AutoDateLocator()
3131
majfmt = dates.AutoDateFormatter(majloc)
32-
return AxisInfo(majloc=majloc, majfmt=majfmt, label='date')
32+
return units.AxisInfo(majloc=majloc, majfmt=majfmt, label='date')
3333
3434
@staticmethod
3535
def default_units(x, axis):

0 commit comments

Comments
 (0)