Matplotlib > Import, version

Name
Code
Output
# matplotlib is usually imported as mpl
import matplotlib as mpl
# matplotlib pyplot is usually imported as plt
# in other cheats we use full matplotlib.pyplot to avoid confusion
import matplotlib.pyplot as plt

       
    
print("Matplotlib version: ",matplotlib.__version__)
Matplotlib version:  2.0.2