#!/usr/bin/env python # coding: utf-8 # In[9]: msg = "Hi Doug" print(msg) msg = "welcome to notebook in VS Code" print(msg) # # My first notebook in VS Code ! # In[10]: import matplotlib.pyplot as plt import numpy as np x = np.linspace(0,20,100) plt.plot(x, np.sin(x)) plt.show() # In[11]: import matplotlib as mlab x = [21,22,23,24,4,5,6,77,8,9,10,31,32,33,34,35,36,37,18,49,50,100] num_bins = 5 n, bins, patches = plt.hist(x, num_bins, facecolor='blue', alpha=0.5) plt.show()