UserWarning in plot when using logistic growth
See original GitHub issueHi, I am getting a warning alert when using model.plot_components(forecast)
with the results from logistic growth.
UserWarning: FixedFormatter should only be used together with FixedLocator
ax.set_yticklabels(yticklabels)
It references this line https://github.com/facebook/prophet/blob/e41ed25646f44f713c110c30c07c678e4a07728e/python/fbprophet/plot.py#L421-L422
Environment:
- MacOS
- Python 3.8
- fbprophet 0.6
- matplotlib 3.3.2
The alert is gone after I tried the workaround solution described here https://stackoverflow.com/a/63755285/2839786 i.e. added ax.set_yticks(ax.get_yticks().tolist())
beween the two lines above.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
python - Logistic growth curve using scipy is not quite right
I'm trying to fit a simple logistic ...
Read more >UserWarning Matplotlib is currently using agg which is a non ...
I am trying to plot using matplotlib. But I am getting the below error. UserWarning: Matplotlib is currently using agg, which is a...
Read more >Ml regression in Python - Plotly
This page shows how to use Plotly charts for displaying various types of regression models, starting from simple models like Linear Regression, ...
Read more >Plot multinomial and One-vs-Rest Logistic Regression
Plot decision surface of multinomial and One-vs-Rest Logistic Regression. The hyperplanes corresponding to the three One-vs-Rest (OVR) classifiers are ...
Read more >Modeling Logistic Growth - Towards Data Science
The reason to use Logistic Growth for modeling the Coronavirus outbreak is that ... STEP 6 — Plot the fitted function vs the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, sure here is the PR: https://github.com/facebook/prophet/pull/1732
I just signed the CLA, I think the check will be updated and pass in several minutes. If not, I will re-do the PR.
Thanks! closing this for https://github.com/facebook/prophet/pull/1732