facebook / facebook/prophet

error in demo web page code for line plot_plotly(m, forecast) for windows 11

Open
#2,410 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

error in web page code for line plot_plotly(m, forecast) for windows 11
https://facebook.github.io/prophet/docs/quick_start.html#python-api

plot_plotly(m, forecast)
Traceback (most recent call last):
Debug Console, prompt 22, line 1
#S_prophet_test_apr16
File "c:\my_py_environments\py_env_jan_2023\lib\site-packages\prophet\plot.py", line 595, in plot_plotly
data.append(go.Scatter(
builtins.NameError: name 'go' is not defined

![image](https://user-images.githubusercontent.com/11426119/232631922-658bed38-4cbd-4b3a-9998-3bc4bf9770ef.png)

prophet was installed several day ago from pypy
by
pip install prophet
![image](https://user-images.githubusercontent.com/11426119/232632087-a35fcfec-a7ca-4cdb-b7bf-26283901886b.png)

Contributor guide

Open the contributing guide

Research direction

Start with the Python API quick-start page and the plot_plotly(m, forecast) entry point, then reproduce the traceback in prophet/plot.py around line 595 on Windows 11. Done means the documented line-plot example runs without the reported NameError and the quick-start instructions accurately describe any required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.