using pyplot in python3 code example Example: how to import matplotlib.pyplo in python import matplotlib.pylot as plt