8000 Backport PR #22069: [Doc] Fix typo in `units.py` documentation example · meeseeksmachine/matplotlib@4a8ce85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a8ce85

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR matplotlib#22069: [Doc] Fix typo in units.py documentation example
1 parent 046507e commit 4a8ce85

File tree

1 file changed

+1
-1
lines changed

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)
0