My plan is to have 4 GridSpec(4,1) gridspecs to create a 4x4 grid of subplots. I would like to add a horizontal line across the x-axes of each row of 4 subplots. I looked at matplotlib.lines.Line2D but couldn't really figure it out. Any suggestions? I'm trying to visually simplify the picture so it does not look like 16 separate graphs.
In the picture below I only have the first 2 gridspecs up, but I hope it offers a better idea of what I am hoping to achieve.
Thanks! Cheers
Code (the graph part):
#---the graph---
fig = plt.figure(facecolor='white')
gs1 = GridSpec(4,1)
gs1.update(left = 0.15, right = .3375 , wspace=0.02)
ax1 = plt.subplot(gs1[3,0])
ax2 = plt.subplot(gs1[2,0])
ax3 = plt.subplot(gs1[1,0])
ax4 = plt.subplot(gs1[0,0])
gs2 = GridSpec(4,1)
gs2.update(left = 0.3875, right = .575, wspace=.25)
ax1 = plt.subplot(gs2[3,0])
ax2 = plt.subplot(gs2[2,0])
ax3 = plt.subplot(gs2[1,0])
ax4 = plt.subplot(gs2[0,0])
show()


ll = plt.plot(xb,yb, '-b') ll[0].set_clip_on(False) plt.axis([0,100,0,1.2])section... however I am still pretty lost. Is that the right part to look at?