fix-incorrect-tick-text-boundaries-calculation

This commit is contained in:
Ogi Moore 2020-06-12 22:28:26 -07:00
parent e1f6c08365
commit cee27b6268

View File

@ -853,8 +853,8 @@ class AxisItem(GraphicsWidget):
interpreted by drawPicture().
"""
profiler = debug.Profiler()
#bounds = self.boundingRect()
if self.style['tickFont'] is not None:
p.setFont(self.style['tickFont'])
bounds = self.mapRectFromParent(self.geometry())
linkedView = self.linkedView()