diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index dd665fde..3600c665 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -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(