Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danielballan opened this issue Nov 11, 2015 · 1 comment
Open

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

danielballan opened this issue Nov 11, 2015 · 1 comment

Comments

@danielballan
Copy link
Member

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.

@danielballan
Copy link
Member Author

1.5.0 is on conda. @tacaswell do you have time to clean up our plotting usage in the walkthrough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant