Reference · Glossary
matplotlib
Python’s common **plotting library** — scatter plots, histograms, and line charts to see patterns before you model.
When to use
Visualizing clusters, decision boundaries, or loss curves in building-lane ML lessons.
When not to
Production dashboards — use your observability stack; matplotlib is for exploration and teaching.
Example
import matplotlib.pyplot as plt
plt.scatter(x, y)
plt.title("Two clusters?")
plt.show()