I'm hoping to obtain a larger picture of the calibration figure. The original command is


I tried to use


but that doesn't work. How can I make it bigger? Thanks!


1 Answer 1


It seems you tried to recreate the plot of the calibration matrix from this tutorial. Which output a plot like something like below when you execute meas_fitter.plot_calibration().

enter image description here

But you want the image above to be larger. If that is the case, then you can change the image size as follows:

import matplotlib.pyplot as plt
fig, ax = plt.subplots(figsize=(10, 10))
  • $\begingroup$ Thanks so much:) $\endgroup$
    – ZR-
    Feb 5, 2021 at 1:58
  • $\begingroup$ No problem! Glad I was able to help. :) $\endgroup$
    – KAJ226
    Feb 5, 2021 at 3:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.