Prophet: Plotly-plot of the components

Created on 19 Jun 2019  Â·  5Comments  Â·  Source: facebook/prophet

Please add plotly plot options for component plotting m.plot_components. Currently, as of version 0.5 plot_plotly doesn't support that.

So the main plot looks sleek while the component plot (plotted with matplotlib looks dull)
Screenshot from 2019-06-19 13-45-34
Screenshot from 2019-06-19 13-45-25

enhancement ready

Most helpful comment

Done in #1038 by @Olof-Hojvall

All 5 comments

That would be a great new feature!

Done in #1038 by @Olof-Hojvall

I'll leave this open until we actually push it to PyPI.

So I'm fairly new to using FBProphet, so I apologize if I've misinterpreted anything about how the libraries work.
I tried to get the components plotted using the plot.ly functions provided here: https://github.com/facebook/prophet/blob/master/python/fbprophet/plot.py
However, I kept getting an error message when trying to plot the components. As far as I can tell, the provided code is incorrect. There are two line that read like this:

title=go.layout.yaxis.Title(text=name)

but to get them working, both of them must be changed to this:

title=name

This is now pushed to PyPI in v0.6.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robertdknight picture robertdknight  Â·  3Comments

teramonagi picture teramonagi  Â·  3Comments

Earththing picture Earththing  Â·  3Comments

arnaudvl picture arnaudvl  Â·  3Comments

andrew-pollock picture andrew-pollock  Â·  3Comments