From a8a3f098cf51dc4b6cd39c4b3d5c0f4a9ccc6b49 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 1 Apr 2021 09:28:10 -0400 Subject: [PATCH] Drop lingering prints --- piker/ui/_graphics/_cursor.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/piker/ui/_graphics/_cursor.py b/piker/ui/_graphics/_cursor.py index e13ab20b..159c773e 100644 --- a/piker/ui/_graphics/_cursor.py +++ b/piker/ui/_graphics/_cursor.py @@ -90,16 +90,11 @@ class LineDot(pg.CurvePoint): self, ev: QtCore.QEvent, ) -> None: - # print((ev, type(ev))) if not isinstance( ev, QtCore.QDynamicPropertyChangeEvent ) or self.curve() is None: return False - # if ev.propertyName() == 'index': - # print(ev) - # # self.setProperty - (x, y) = self.curve().getData() index = self.property('index') # first = self._plot._ohlc[0]['index'] @@ -172,8 +167,6 @@ class ContentsLabel(pg.LabelItem): if inspect.isfunction(margins[1]): margins = margins[0], ydim(anchor_font_size) - print(f'margins: {margins}') - self.anchor(itemPos=index, parentPos=index, offset=margins) def update_from_ohlc( @@ -403,7 +396,6 @@ class Cursor(pg.GraphicsObject): # update all trackers for item in self._trackers: - # print(f'setting {item} with {(ix, y)}') item.on_tracked_source(ix, iy) if ix != last_ix: