import matplotlib.pyplot as plt library name code example Example: No module named 'matplotlib' pip install matplotlib