Skip to content

represent x-y plots with points instead of lines #1710

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

Closed
zachcp opened this issue Jul 30, 2012 · 1 comment
Closed

represent x-y plots with points instead of lines #1710

zachcp opened this issue Jul 30, 2012 · 1 comment

Comments

@zachcp
Copy link

zachcp commented Jul 30, 2012

This is a followup question to issue 1527 (#1527) which dealt with the ability to plot two column values against one another - which was added to pandas 0.8.1

Is there a way that each x-y position can be represented as points rather than as a line? For example the following will generate a squiggly line where points would be more useful:

from pandas import DataFrame
df = DataFrame(np.random.randn(100, 2), columns=['a', 'b']
df.plot(x='a',y='b')

thanks,
zach cp

@changhiskhan
Copy link
Contributor

df.plot(x='a', y='b', style='o')

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

2 participants