Skip to content

After mpl 1.5.0 is out, revisit plot usage. #36

@danielballan

Description

@danielballan

We should avoid DataFrame.plot(), which is changing in new versions of pandas and often had some weird interactions anyway. And as long as we are revisiting the usage, we should use the nice labeled data API in matplotlib.

plt.plot(d)  # automatically plots Series against its index
plt.plot('mass', 'size', data=f)  # plots f['mass'] vs. f['size']
plt.plot('mass', 'size', 'ecc', data=f)  # plots f['mass'] vs. f['size'] coloring by 'ecc' (cool!)

This has to wait until 1.5.0 is available on conda, but we could always go back after v0.3.0 is released to revise and rebuild the 0.3.0 docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions