statsforecast icon indicating copy to clipboard operation
statsforecast copied to clipboard

:sparkles: add plotly-resampler as plotting engine

Open jvdd opened this issue 1 year ago • 4 comments

This PR adds "plotly-resampler" as option for the plotting engine of StatsForecast.plot method, see #342

Would love to hear your feedback on this!


Example use of plotly-resampler (in the ElectricityLoadForecasting.ipynb notetbook)

image

Note that plotly-resampler properties can be passed in the resampler_kwargs argument. :arrow_down: illustrates how for example the number of shown samples can be changed!

StatsForecast.plot(df, engine="plotly-resampler", resampler_kwargs={"default_n_shown_samples": 3000, "show_dash": {"mode": "inline"}})

PS: also fixed a minor typo in the CONTRIBUTING.md file

jvdd avatar Dec 03 '22 09:12 jvdd

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

github-actions[bot] avatar Dec 03 '22 09:12 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA

jvdd avatar Dec 03 '22 09:12 jvdd

recheck

jvdd avatar Dec 03 '22 09:12 jvdd

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 05 '22 22:12 CLAassistant

I'm not sure why the macOS - Python 3.8 CI is stuck at the Run ray step in this pull request. It looks like the same issue occurred in #358 as well.

jvdd avatar Dec 10 '22 07:12 jvdd

Not really sure if this is related to the macOS test hanging, but GitHub is performing some maintenance on their macOS virtual environments

https://github.com/actions/runner-images/issues/2247

jvdd avatar Dec 14 '22 20:12 jvdd

@all-contributors please add @jvdd for code

AzulGarza avatar Dec 15 '22 02:12 AzulGarza

@FedericoGarza

I've put up a pull request to add @jvdd! :tada:

allcontributors[bot] avatar Dec 15 '22 02:12 allcontributors[bot]