Merge pull request #1252 from j9ac9k/implement-pr-336

fix-incorrect-tick-text-boundaries-calculation
This commit is contained in:
Ogi Moore 2020-06-12 22:52:46 -07:00 committed by GitHub
commit 5f5803264b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()