Skip to content

Bad arguments in plot #22

@wgova

Description

@wgova

Love this primer. It's really insightful.
post_pred is a dict with obs key with this structure: {'obs': array([[5.71667615e+02, 1.34905178e+03, 5.25019985e+00, ...]])}

This won't render in the plot: post_pred[country].T

fig, ax = plt.subplots(figsize=(10, 8))
ax.plot(post_pred[country].T, color='0.5', alpha=.05);
ax.plot(confirmed, color='r')
ax.set(xlabel='Days since 100 cases', ylabel='Confirmed cases', title=country);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions