HOME/Articles/

matplotlib example mpl test (snippet)

Article Outline

Python matplotlib example 'mpl test'

Modules used in program:

  • import numpy as np
  • import matplotlib.pyplot as plt

python mpl test

Python matplotlib example: mpl test

import matplotlib.pyplot as plt
import numpy as np

plt.plot(np.random.randn(10,2))