3

I'm plotting a pandas dataframe with structure similar to

index groupcol value
1    A          10
2    B          12
3    C          10
4    A          10
5    C          17
6    A          11
7    B          15

with

df.groupby([df.index,'groupcol']).mean()['value'].unstack().plot(subplots=True, layout=(3,1))

So I get a row of three graphs. How can I add a general x and y labels to the entire plot and not to the individual graphs?

James
  • 29,484
  • 4
  • 43
  • 62
Ivan
  • 18,168
  • 29
  • 91
  • 138

0 Answers0