I have a "master" panda dataframe that has time series of "polarity" values ββfor several terms. I want to work with four of them, so I extracted 4 separate data frames containing time series (same time series for all terms, but different polarity values).
I built them on 4 separate matplotlib plots using the code below
fig, axes = plt.subplots(nrows=2, ncols=2) polarity_godzilla.plot(ax=axes[0,0]); axes[0,0].set_title('Godzilla') polarity_henry_kissinger.plot(ax=axes[0,1]); axes[0,1].set_title('Henry Kissinger') polarity_bmwi.plot(ax=axes[1,0]); axes[1,0].set_title('BMWi') polarity_duran_duran.plot(ax=axes[1,1]); axes[1,1].set_title('Duran Duran')
Now, I want all of them to be on the same graph, so I have an idea of ββthe magnitude of each graph, because matplotlib auto-scaling can give a wrong idea of ββthe magnitude just by looking at the graphs. 
Two questions: 1) Is there a way to set the minimum and maximum values ββof the Y axis when plotting? 2) I'm not an expert in matplotlib, so I'm not sure how to build 4 variables on the same chart using different colors, markers, labels, etc. I tried nrows = 1, ncols = 1, but can't build anything.
thanks
source share