Plotly in Spyder?

Hi all,

To use plotly.py from Spyder, hereโ€™s what I would recommend:

  1. Download and install the anaconda Python distribution: https://www.anaconda.com/download/
  2. Install both Spyder and plotly.py using conda.
$ conda install -c plotly plotly spyder
  1. Create plots from spyder using the plotly.plotly.plot (online) or plotly.offline.plot (offline) functions. Each of these will open the plots in your default web browser.
  2. If you want static image export support, install the plotly-orca and psutil packages (See https://github.com/plotly/plotly.py#static-image-export)
$ conda install -c plotly plotly-orca psutil

-Jon

1 Like