Skip to content

Commit

Permalink
Bug fix lumped_capacitive.py
Browse files Browse the repository at this point in the history
Matplotlib does not accept "LineWidth" as an argument, but it does accept "linewidth". Tiny fix for a very aggravating bug.
  • Loading branch information
vanitery committed Jan 10, 2024
1 parent a4ea462 commit 6808cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_metal/analyses/quantization/lumped_capacitive.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6808cc7

Please sign in to comment.