Simple plots using a local server

To use this demo you to to have a jupyter server available and able to receive connections from localhost. To start a local server, use the following command:

jupyter lab --NotebookApp.token= --NotebookApp.allow_origin='*' --no-browser

%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
plt.ion()
fig, ax = plt.subplots()
ax.scatter(*np.random.randn(2, 100), c=np.random.randn(100))
ax.set(title="Wow, an interactive plot!")