Brighter last OHLC graphics datum by default

pre_viz_calls
Tyler Goodlet 2022-11-16 17:38:52 -05:00
parent 67ad292ff3
commit 11b254be7a
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',