Drop lingering prints
							parent
							
								
									5a970dad72
								
							
						
					
					
						commit
						a8a3f098cf
					
				|  | @ -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: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue