how to put matplotlib import pyplot as plt to python3 code example Example: how to import matplotlib in python import matplotlib