import latest version of matplotlib code example Example: python pip install matplotlib pip install matplotlib