Download the file plotly_test.py [here]{../assets/plotly_test.py} to your Downloads folder.
Open a command prompt (Windows - press the Windows key, type cmd.exe, and press Enter; Macs - Hold the “command” key, press the space bar, type Terminal, and press return).
Type cd ~/Downloads and press enter.
Run the plotly_test.py script (Windows - type python.exe plotly_test.py and press Enter; Macs - type python3 plotly_test.py and press return).
After a few seconds, two things should happen. 1.) you should see a browser window open with a plot of a sine wave it it; 2.) a new file image named test.png containing the same plot should appear in your Downloads folder. If both of these things happen, then your installation works fine.
Sometimes, the image file will not be generated, often coinciding with the script hanging for a long time. In this case, see our troubleshooting flow charts for [Windows]{../assets/Plotly Install Flow Chart - Windows.pdf} or [Macs/Linux]{../assets/Plotly Install Flow Chart - MacLinux.pdf}.