May I ask how do i adjust the size of the graph? This is my code.
import matplotlib.pyplot as plt
fig=plt.figure()
ax=fig.add_subplot(111)
ax.plot(mean, median, marker="s", linestyle="")
for i, txt in enumerate(words):
ax.annotate(txt, (mean[i],median[i]))
ax.set_xlabel("median")
ax.set_ylabel("mean")
plt.show()
I tried to use
fig,ax=plt.subplots(figsize=(20,10))
but failed.