diff --git a/tracking/monitors/plotting.py b/tracking/monitors/plotting.py index 6483f16999b8445389107b46a57d605c9f9374e9..a8547605580b8c33d73aede1e1b6b1e4f85daf9e 100644 --- a/tracking/monitors/plotting.py +++ b/tracking/monitors/plotting.py @@ -447,7 +447,7 @@ def plot_wakedata(filename, bunch_number, wake_type="Wlong", start=0, scale = [1] label = ["$\\rho$ (a.u.)"] - if dipole == True: + elif dipole == True: tau_name = "tau_" + wake_type wake_type = "dipole_" + wake_type dimension_dict = {wake_type:0}