Created
July 3, 2015 05:08
-
-
Save trsqxyz/53ffab06566957a83903 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [175]: for i in range(len(df.mean().index)): | |
.....: plt.bar(i, df.mean().iloc[i].gross, label=df.mean().index[i], color='0.{0}1'.format(i)) | |
.....: | |
In [176]: plt.legend(loc='best') | |
Out[176]: <matplotlib.legend.Legend at 0xc5c1770> | |
In [177]: plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment