8000 Merge pull request #22069 from edouardberthe/main · matplotlib/matplotlib@b440575 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit b440575

Browse files
authored
Merge pull request #22069 from edouardberthe/main
[Doc] Fix typo in `units.py` documentation example
2 parents 88ea09b + 1fe7be6 commit b440575

File tree

1 file changed

+1
-1
lines changed

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