Allow axis kwargs passthrough

vlm_plotz
Tyler Goodlet 2022-01-17 09:46:17 -05:00
parent d127192c2d
commit 584be7dca9
1 changed files with 2 additions and 0 deletions

View File

@ -862,6 +862,7 @@ class ChartPlotWidget(pg.PlotWidget):
def overlay_plotitem(
self,
name: str,
axis_kwargs: dict = {},
) -> pg.PlotItem:
# Custom viewbox impl
@ -875,6 +876,7 @@ class ChartPlotWidget(pg.PlotWidget):
yaxis = PriceAxis(
orientation='right',
linkedsplits=self.linked,
**axis_kwargs,
)
plotitem = pg.PlotItem(