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

Skip to content

Commit 1fe7be6

Browse files
Fix typo
1 parent 88ea09b commit 1fe7be6

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)