From 11b254be7a2027250aa73266e0e1c392de1efc02 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 16 Nov 2022 17:38:52 -0500 Subject: [PATCH] Brighter last OHLC graphics datum by default --- piker/ui/_chart.py | 1 - piker/ui/_ohlc.py | 2 +- piker/ui/_style.py | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index a8d0e20e..8c1169b8 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -1224,7 +1224,6 @@ class ChartPlotWidget(pg.PlotWidget): graphics = BarItems( linked=self.linked, plotitem=pi, - # pen_color=self.pen_color, color=color, name=name, **graphics_kwargs, diff --git a/piker/ui/_ohlc.py b/piker/ui/_ohlc.py index 852196f3..6601f86c 100644 --- a/piker/ui/_ohlc.py +++ b/piker/ui/_ohlc.py @@ -92,7 +92,7 @@ class BarItems(pg.GraphicsObject): linked: LinkedSplits, plotitem: 'pg.PlotItem', # noqa color: str = 'bracket', - last_bar_color: str = 'bracket', + last_bar_color: str = 'original', name: Optional[str] = None, diff --git a/piker/ui/_style.py b/piker/ui/_style.py index 22731093..52ac753a 100644 --- a/piker/ui/_style.py +++ b/piker/ui/_style.py @@ -240,12 +240,12 @@ def hcolor(name: str) -> str: 'gunmetal': '#91A3B0', 'battleship': '#848482', + # default ohlc-bars/curve gray + 'bracket': '#666666', # like the logo + # bluish 'charcoal': '#36454F', - # default bars - 'bracket': '#666666', # like the logo - # work well for filled polygons which want a 'bracket' feel # going light to dark 'davies': '#555555',