March 23, 2020

[Note] Jupyter-auto complete, dark theme

Auto Complete

> conda install -c conda-forge jupyter_nbextensions_configurator
> conda install jupyter_contrib_nbextensions
> jupyter nbextensions_configurator enable --user
> jupyter nbextension enable hinterland/hinterland

Dark Theme

> conda install jupyterthemes
> jt -t monokai -f fira -fs 11 -nf ptsans -nfs 11 -N -kl -cursw 5 -cursc r -cellw 95% -T


> conda install -c conda-forge jupyterthemes

Check below reference page for adding extensions and dark mode's graph set up.

e.g. C:\Users\<user name>\.ipython\profile_default\startup\

import os
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from jupyterthemes import jtplot'monokai', context='notebook', ticks=True, grid=False)

For pyplot, use this in Jupyter notebook:

import matplotlib.pyplot as plt'dark_background')


March 13, 2020

New tool - KITE for Python, Anaconda + Visual Studio Code

Kite - AI plugin for Python

Supports Atom, Sublime, JetBrains, Visual Studio Code, VIM, Spyder.

For VSC -

After installing it, it runs as an application.  This may not work in work place network.

Visual Studio Code + Anaconda

Assuming Anaconda is already installed.
Install Python extension
Install Run Code extension,

CTRL-SHIFT-P, and select "Preferences: Open Settings (JSON):

And edit it:

See all the environments:

Other useful VSC extensions

CSV - rainbow,
CSV - table,
Rainbow bracket -
Select line status -
Todo -

Ascii Art -
Insert Unicode -
Unicode Substitution -
Emoji -
VS Code Speech -
Translator -

Remote WSL -
Remote SSH -
Remote Dev -

Anaconda Extension pack -
Magic Python -
Python VS Code -

Jumpy -
Cursor Move -

Jupyter Previewer -
Clojure -