Feb-06-2017, 01:24 PM
Hi guys,
I wrote this code to subplot two graphs:
I appreciate the help.
I wrote this code to subplot two graphs:
f,axarr = plt.subplots(2, sharex=True) axarr[0].plot(X,Tt,label='Tt') plt.legend() axarr[1].plot(X,B,label='B') plt.legend() plt.show()The problem is that the legend of the first graphic 'Tt', doesn't appear on the final figure:
I appreciate the help.