In Matplotlib, the
pyplot module provides the interface for creating figures for plotting data points on the screen.
import matplotlib.pyplot as plt
pyplot module is made available in an
import statement and usually under an alias like
- Places a legend on the axes, allowing access to manipulate parameters of the legend.
Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.