summaryrefslogtreecommitdiff
path: root/examples/fftPlotAction.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fftPlotAction.py')
-rwxr-xr-xexamples/fftPlotAction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fftPlotAction.py b/examples/fftPlotAction.py
index 877225f..bdea08d 100755
--- a/examples/fftPlotAction.py
+++ b/examples/fftPlotAction.py
@@ -2,7 +2,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2016-2018 European Synchrotron Radiation Facility
+# Copyright (c) 2016-2020 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -110,7 +110,7 @@ class FftAction(PlotAction):
for curve in allCurves:
x = curve.getXData()
y = curve.getYData()
- legend = curve.getLegend()
+ legend = curve.getName()
info = curve.getInfo()
if info is None:
info = {}