speed up AxisItem __init__
This commit is contained in:
parent
b575b56edf
commit
82d2b757e4
@ -88,6 +88,8 @@ class AxisItem(GraphicsWidget):
|
||||
self.autoSIPrefix = True
|
||||
self.autoSIPrefixScale = 1.0
|
||||
|
||||
self.showLabel(False)
|
||||
|
||||
self.setRange(0, 1)
|
||||
|
||||
if pen is None:
|
||||
@ -99,8 +101,6 @@ class AxisItem(GraphicsWidget):
|
||||
if linkView is not None:
|
||||
self.linkToView(linkView)
|
||||
|
||||
self.showLabel(False)
|
||||
|
||||
self.grid = False
|
||||
#self.setCacheMode(self.DeviceCoordinateCache)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user