How do you change the size of figure drawn with matplotlib?
import matplotlib.pyplot as plt plt.figure(figsize=(20,10)) plt.plot(x,y) ## This is your plot plt.show()
You can also use:
fig, ax = plt.subplots(figsize=(20, 10))