From ff0d81191c74163c13b06e147b88e549c191008d Mon Sep 17 00:00:00 2001 From: jbellister-slac Date: Fri, 24 Jun 2022 15:31:22 -0700 Subject: [PATCH] FIX: Get the export to csv functionality working for plots by adding data items to the curves attribute --- pydm/widgets/multi_axis_plot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pydm/widgets/multi_axis_plot.py b/pydm/widgets/multi_axis_plot.py index f5bbb334b..878da3dac 100644 --- a/pydm/widgets/multi_axis_plot.py +++ b/pydm/widgets/multi_axis_plot.py @@ -194,6 +194,7 @@ def linkDataToAxis(self, plotDataItem: PlotDataItem, axisName: str) -> None: if self.legend is not None and plotDataItem.name(): self.legend.addItem(plotDataItem, name=plotDataItem.name()) + self.curves.append(plotDataItem) self.curvesPerAxis[axisName] += 1 def removeAxis(self, axisName):