I am trying to place two subtitles next to each other (as opposed to each other). I expect to see [sp1] [sp2]
Instead, only the second graph [sp2] is displayed.
from matplotlib import pyplot
x = [0, 1, 2]
pyplot.figure()
pyplot.subplot(211)
pyplot.bar(x, x)
pyplot.subplot(221)
pyplot.plot(x, x)
pyplot.show()
Regards,
Axel
source
share