Created
May 30, 2020 20:49
-
-
Save terrycojones/819e4e50380c067809d3e84b76a42838 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
df = pd.DataFrame( | |
barData, | |
index=('KG (0-6 years)', 'Young (0-19 years)', 'Older (>19 years)'), | |
columns=('100,000', '1,000,000'), | |
) | |
ax = df.plot.bar(figsize=(12, 6), ylim=(0, 100), | |
title='Age group percentages with viral load >100,000 or >1M', | |
rot=0, fontsize=20, table=False) | |
ax.set_ylabel('Percentage with at least this viral load', fontsize=15) | |
ax.set_xlabel('Age category', fontsize=15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment