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

dsvrsec picture dsvrsec  路  3Comments

ahash52 picture ahash52  路  3Comments

teramonagi picture teramonagi  路  3Comments

L471 picture L471  路  3Comments

kimhale picture kimhale  路  3Comments