Brighter last OHLC graphics datum by default

epoch_index_backup
Tyler Goodlet 2022-11-16 17:38:52 -05:00
parent 701eb7c2c5
commit 363c7a2df2
3 changed files with 4 additions and 5 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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',