From e0794e1f766098e5d8a27b8b9d3c89dc3927ff92 Mon Sep 17 00:00:00 2001 From: Gamelin Alexis <alexis.gamelin@synchrotron-soleil.fr> Date: Fri, 22 Jul 2022 10:18:16 +0200 Subject: [PATCH] Fix plot_fir --- mbtrack2/tracking/feedback.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mbtrack2/tracking/feedback.py b/mbtrack2/tracking/feedback.py index eb1619c..23287b8 100644 --- a/mbtrack2/tracking/feedback.py +++ b/mbtrack2/tracking/feedback.py @@ -208,13 +208,13 @@ class FIRDamper(Element) : fig, [ax1, ax2] = plt.subplots(1,2) ax1.plot(tune, gain) - ax1.title("Gain") - ax1.xlabel("Tune") + ax1.set_title("Gain") + ax1.set_xlabel("Tune") ax2.plot(tune, phase) - ax2.title("Phase in degree") - ax2.xlabel("Tune") - ax2.ylabel("Degree") + ax2.set_title("Phase in degree") + ax2.set_xlabel("Tune") + ax2.set_ylabel("Degree") def track(self, beam_or_bunch): """ -- GitLab