matplotlib plot array of points code example Example: import pyplot python import matplotlib.pyplot as plt