By default, pandas.DataFrame.plot (), using the subtitle option, does not seem to make it easy to build a shortcut for each subtitle. I am trying to build a pandas framework that has a subtask per column in a data frame. The code still does not work:
fig = plt.figure(figsize=(10,10)) ax = plt.gca() df.plot(y=vars, ax=ax, subplots=True, layout=(3,1), sharex=True, legend=False,) ax.set_ylabel = ['y','x', 'z']
But this does not create any shortcuts at all.
source share