A: VSCode introduced jupyter

1: Installation

2: Sample Code

#%%
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np

x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show() 

%% # flag for each block is divided, without it does not recognize the cell jupyter

then

Performing the last cell code into a browser

3: connection of remote jupyter kernel on server / docker

Guess you like

Origin www.cnblogs.com/gyxpy/p/11576213.html