Skip to content

VIS: Pandas imshow-like function #3497

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
cpcloud opened this issue Apr 30, 2013 · 6 comments
Closed

VIS: Pandas imshow-like function #3497

cpcloud opened this issue Apr 30, 2013 · 6 comments
Assignees
Labels
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented Apr 30, 2013

matplotlib's imshow is pretty unawesome for DataFrames. For example, to label the axes one must do all sorts of tricks with the formatting API. Pandas provides great indexing/labeling capabilities. I propose a function similar to imshow that uses the information in a DataFrame to correctly label the axes. The API could be passing kind='image' to DataFrame.plot.

@cpcloud
Copy link
Member Author

cpcloud commented Apr 30, 2013

Hm. Maybe this wasn't as big of a deal as I thought. Gets a bit ugly for MultiIndex and float indices, but that can be dealt with easily using matplotlib formatting classes.

@ghost ghost assigned cpcloud Jun 6, 2013
@kyleabeauchamp
Copy link

I think this is a useful feature request, if only to streamline the creation of nice heatmaps. It's currently not that much trouble to do manually, but it would be great if I could do this with a one-line call to DataFrame.plot().

@cpcloud
Copy link
Member Author

cpcloud commented Jul 29, 2013

yeah i have some code floating around for this just need to clean it up a bit...

@jreback jreback modified the milestones: 0.15.0, 0.14.0 Feb 18, 2014
@cpcloud
Copy link
Member Author

cpcloud commented Feb 21, 2014

way way stale

@cpcloud cpcloud closed this as completed Feb 21, 2014
@naught101
Copy link

@cpcloud : still definitely useful though. Do you still have that code floating around?

@jorisvandenbossche
Copy link
Member

@naught101 there is heatmap support for dataframes in both seaborn and plotnine

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

No branches or pull requests

5 participants