I am new to Python and I am learning matplotlib. I am following the video tutorial recommended in the official User Manual of matplotlib: 'Plotting with matplotlib' by Mike Muller. The instructor does not show how he imports matplotlib but proceeds instantly with commands such as plot(x, linear, x, square), where x a sequence he has defined. I tried to run import matplotlib from matplotlib import pyplot as plt import numpy as np import pandas as pd x = np.arange(100) lines = plot(x, 'linear', 'g:+', x, 'square','r-o') and got the error NameError: name 'plot' is not defined Continue reading...