Autocorrelation function within plotnine
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.8k
- Forks
- 254
- Avg merge
- 10h 35m
- Merged PRs (30d)
- 9
Description
Hi has2k1. I really love using plotnine as it makes doing analysis on my data really easy. I truly appreciate your work.
Is there a way to do be able to add an autocorrelation function into the package if isn't already? I don't really code in Python but if it is relatively simple to do, I'm willing to open a PR. I just would need a little guidance on the proper format of how to add a new layer/facet (whatever the appropriate term is) for ggplot.
As for implementation, I am aware that the statsmodel package as an autocorrelation function. The plots can be generated by statsmodels.graphics import tsaplots.plot_acf(x, lags = N, alpha= value) so perhaps we can use the underlying function call here to generate the intermediate data before it is plotted via plotnine.
Open to ideas.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing plotnine's extension points for layers or facets and the mentioned statsmodels.graphics.tsaplots.plot_acf entry point. Clarify the desired API, plotting behavior, and integration scope before implementation; done should mean an agreed autocorrelation feature is supported and documented by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100