Skip to content

ENH: add figsize argument to DataFrame and Series hist methods #3842

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

Merged
merged 1 commit into from
Jun 12, 2013
Merged

ENH: add figsize argument to DataFrame and Series hist methods #3842

merged 1 commit into from
Jun 12, 2013

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Jun 10, 2013

closes #3834

@cpcloud
Copy link
Member Author

cpcloud commented Jun 12, 2013

@jreback ok with this?

@jreback
Copy link
Contributor

jreback commented Jun 12, 2013

don't we always just pass kwds to matplotlib anyhow? (I am not disagreeing with this, because its nice
to do this on the front-end), just curios

@cpcloud
Copy link
Member Author

cpcloud commented Jun 12, 2013

yes but they weren't being propagated correctly because they were being passed into funcs that don't use them e.g., grouped_hist. plus hist_series was calling gca which creates a figure before u can give it a figsize. u might be able to adjust that post creation but my method requires less mpl api munging

@cpcloud
Copy link
Member Author

cpcloud commented Jun 12, 2013

oh i just saw something that i need to change can't merge yet..

@jreback
Copy link
Contributor

jreback commented Jun 12, 2013

minor point, figsize is in inches I think? (subject to dpi), (may want to mention that)

@cpcloud
Copy link
Member Author

cpcloud commented Jun 12, 2013

units there are customizable i believe but ok

@cpcloud
Copy link
Member Author

cpcloud commented Jun 12, 2013

@jreback this is good 2 go...shall i merge?

@jreback
Copy link
Contributor

jreback commented Jun 12, 2013

ok

cpcloud added a commit that referenced this pull request Jun 12, 2013
ENH: add figsize argument to DataFrame and Series hist methods
@cpcloud cpcloud merged commit 51cc9d9 into pandas-dev:master Jun 12, 2013
@cpcloud cpcloud deleted the hist-figsize-3834 branch June 12, 2013 19:41
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

Successfully merging this pull request may close these issues.

DataFrame.hist does not accept figsize kwarg
2 participants