From 6808cc7d7490f22bd95f24c76c47ee481ef7d66e Mon Sep 17 00:00:00 2001 From: ThueCTN <57895175+vanitery@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:38:06 +0100 Subject: [PATCH] Bug fix lumped_capacitive.py Matplotlib does not accept "LineWidth" as an argument, but it does accept "linewidth". Tiny fix for a very aggravating bug. --- qiskit_metal/analyses/quantization/lumped_capacitive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_metal/analyses/quantization/lumped_capacitive.py b/qiskit_metal/analyses/quantization/lumped_capacitive.py index ff5dced85..b6418ca5b 100644 --- a/qiskit_metal/analyses/quantization/lumped_capacitive.py +++ b/qiskit_metal/analyses/quantization/lumped_capacitive.py @@ -502,7 +502,7 @@ def levels_vs_ng_real_units(Cq, IC, N=301, do_disp=0, do_plots=0): 3, ] / h / 1e9, 'g', - LineWidth=2) + linewidth=2) plt.xlabel('Gate charge, n_g [2e]') plt.ylabel('Energy, E_n [GHz]') plt.subplot(1, 2, 2)