Reminders for Students - Carnegie Mellon School of ...

import matplotlib.pyplot as plt #Here is a very simple plot. x =[item for item in range(30)]; y = [item**2 for item in x] #The two lists to use in the plot plt.plot(x,y) #Doesn’t need show, or axes, or subplots, or fig. ................
................