Python With Visual Studio Code
marsspace.co › python-with-visual-studio-codeJan 07, 2022 · Paste the following code in a python file; Execute it (either selecting the code or using the Run cell code lens). The result is a static graph displayed in the Results window #%% 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 Interactive Plot using D3js.