8000 GitHub - trinker/plotly-tutorial: This Jupyter Notebook condenses the Plotly API into one easy to use document with examples
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This Jupyter Notebook condenses the Plotly API into one easy to use document with examples

Notifications You must be signed in to change notification settings

trinker/plotly-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotly-tutorial

This Jupyter Notebook condenses the Plotly API into one easy to use document with examples. Tutorial for https://www.youtube.com/watch?v=GGL6U0k8WYA

Getting Started

Install Python

Installation Documentation

brew install python

Create Virtual Environment

From the project root directory open a terminal in VSCode & run:

Windows:

# python -m venv src/venv            # If not already made
src/venv/Scripts/activate.bat        # using cmd terminal
# src/venv/Scripts/activate          # powershell only
pip install -r requirements.txt

Mac:

# python3 -m venv src/venv
source src/venv/bin/activate
pip3 install -r requirements.txt

Running Locally

Select Python Interpreter

Documentation

In VSCode you can select the python interpreter associated with the virtual environment that was created above. On a mac you can use (command + shift + p), or windows (ctrl + shirt + p) which will pop up an input for VSCode commands. From there you can type in "Python: Select Interpreter", once selected it will give you the option to select an interpreter to use for the project. You should choose the one in the virtual environment (i.e., src/venv/bin/python3).

Windows Select Default Shell

Documentation

If you're on Windows there can be some trouble when activating the virtual environment depending on the shell used. It is recommended to move away from Powershell in favor of CMD.

Start Notebook

# pip install --pre jupyterlab
jupyter-lab

About

This Jupyter Notebook condenses the Plotly API into one easy to use document with examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 60.1%
  • Python 39.9%
0