Skip to content

Instantly share code, notes, and snippets.

@santiagocasas
Created March 16, 2020 23:41
Show Gist options
  • Save santiagocasas/ff730edd564f06b06ee2b1addb51948b to your computer and use it in GitHub Desktop.
Save santiagocasas/ff730edd564f06b06ee2b1addb51948b to your computer and use it in GitHub Desktop.
plotmodels
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