1 2 3 4 5 6 7 8 9 10 11 12 13
| plt.figure(figsize=(8, 5)) plt.ylim(-2, 2) plt.yticks([1,2,3,4,]) plt.title("qwer") plt.xlabel("X")
import matplotlib.gridspec as gridspec gs = gridspec.GridSpec(3, 3) sub1 = plt.subplot(gs[0, :3]) sub2 = plt.subplot(gs[1:,0]) sub3 = plt.subplot(gs[1:,1:])
|