From 8477e12237b8429f81da254c9a0bed57d358487c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 30 Nov 2022 18:48:04 -0500 Subject: [PATCH] Rename `.ui._pathops.py` -> `.ui._formatters.py --- piker/data/{_pathops.py => _formatters.py} | 0 piker/ui/_interaction.py | 2 +- piker/ui/_render.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename piker/data/{_pathops.py => _formatters.py} (100%) diff --git a/piker/data/_pathops.py b/piker/data/_formatters.py similarity index 100% rename from piker/data/_pathops.py rename to piker/data/_formatters.py diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 630b1ecd..ab192209 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -492,7 +492,7 @@ class ChartView(ViewBox): chart = self.linked.chart # don't zoom more then the min points setting - l, lbar, rbar, r = chart.get_viz(chart.name).bars_range() + out = l, lbar, rbar, r = chart.get_viz(chart.name).bars_range() # vl = r - l # if ev.delta() > 0 and vl <= _min_points_to_show: diff --git a/piker/ui/_render.py b/piker/ui/_render.py index 8245c2d9..96c7e069 100644 --- a/piker/ui/_render.py +++ b/piker/ui/_render.py @@ -37,7 +37,7 @@ from ..data._sharedmem import ( ShmArray, ) from ..data.feed import Flume -from ..data._pathops import ( +from ..data._formatters import ( IncrementalFormatter, OHLCBarsFmtr, # Plain OHLC renderer OHLCBarsAsCurveFmtr, # OHLC converted to line