Merge pull request #1289 from ksunden/dai_si_prefix

Disable autoSIPrefix for DateAxisItem by default
This commit is contained in:
Ogi Moore 2020-07-05 10:50:54 -07:00 committed by GitHub
commit da15f09479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,6 +221,7 @@ class DateAxisItem(AxisItem):
(30, HMS_ZOOM_LEVEL), (30, HMS_ZOOM_LEVEL),
(1, MS_ZOOM_LEVEL), (1, MS_ZOOM_LEVEL),
]) ])
self.autoSIPrefix = False
def tickStrings(self, values, scale, spacing): def tickStrings(self, values, scale, spacing):
tickSpecs = self.zoomLevel.tickSpecs tickSpecs = self.zoomLevel.tickSpecs