Brighter last OHLC graphics datum by default
parent
1d83b43efe
commit
1aa9ab03da
|
@ -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,
|
||||
|
|
|
@ -99,7 +99,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,
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue