Created
March 16, 2020 23:41
-
-
Save santiagocasas/ff730edd564f06b06ee2b1addb51948b to your computer and use it in GitHub Desktop.
plotmodels
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
ax.scatter(df_dict[country].index ,y ,label=country,color=col)# Predicted logistic curve | |
ax.plot(pred_date, mean, | |
label=chosen_plotmodel+" model", color=col) #Predicted Logistic Curve | |
ax.fill_between(pred_date, upper_lim, lower_lim, color=col, alpha=0.4) | |
ax.plot(pred_date, [expo_model(i,p, N0=y0) for i in pred_x], '--', | |
label="Exponential model", color=col) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment