Created
April 11, 2020 16:47
-
-
Save barrysmyth/36530b07c49c4390b4884706751cb82d to your computer and use it in GitHub Desktop.
A snippet of code to test a simple heatmap.
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
# Test a simple heatmap for using the SI dataframe for a sample | |
# of 10 countries | |
import pandas as pd | |
import seaborn as sns | |
sns.heatmap( | |
stringency_for_country_by_date.loc[use_countries[:10]], | |
ax=ax, cbar=True | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment