-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
ENH: Groupby.plot enhancement #8018
Conversation
2e9ecd4
to
ee2eb22
Compare
b5849bb
to
f7b72e1
Compare
7091c84
to
54fed1c
Compare
cbae226
to
6cb50c2
Compare
3ee3af6
to
fa27914
Compare
@sinhrks is this stale? |
eed95d4
to
c163639
Compare
@sinhrks We haven't quite finished the faceting API for xray, but basically the idea is to copy it from Seaborn. Plot methods accept arguments like We could copy this API for pandas. But again, Seaborn already does it -- and does it well. In theory, we might even wrap Seaborn's FacetGrid for this stuff, e.g., |
@shoyer I don't mean to implement full functionality like seaborn. I think our goal is to migrate current |
@sinhrks state of this? |
Plotting with Grouped Data | ||
-------------------------- | ||
|
||
.. versionadded:: 0.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to 0.18
so a couple of possibilities here:
I actually like 3) as the start of pandas removing all plotting code and defering to matplotlib/seaborn/bokeh as the default (note that we might need a set of configuration options to ultimately control this), but for now we can simply have an So since this is 'new' functionaility I dont' see a need to have a cc @tacaswell |
I would be in favor of option 1. |
@sinhrks status of this? |
I am also in favor of 1. Is there anyway to tweak the API to return a dictionary mapping the groupby index -> the artist that is plotting it? That will make writing interactive functionality against these plots much easier. |
@sinhrks status? |
@sinhrks @TomAugspurger @jorisvandenbossche status on this? |
status? |
@sinhrks status on this? |
what's status here? @sinhrks is this viable |
status of this? |
closing as stale, but @sinhrks pls reopen if you want / can fix. |
Sorry for the stale. I'll re-organize the preferable spec and re-submit a PR. |
Allow to support
DataFrameGroupBy.plot
andSeriesGroupBy.plot
covering currentDataFrame.hist(by=XXX)
andDataFrame.boxplot(by=XXX)
usecases. Implementation is incomplete but covering most of usecases / behaviours.FIXME
splot_seriesgroupby
andplot_dataramegroupby
specifying default values.plot_frame
andplot_series
, modifydocstring
. (DOC/CLN: Cleanups plotting.py #8037)NotImplementedError
)Following gist contains all patterns of outputs.
Rendered doc