AI engineering glossary · NumPy pandas visualization

What is pyplot?

pyplot (also called plt): The Matplotlib module, usually imported as plt, that is a collection of state-based functions for quickly creating figures and plots, usually imported as plt. It keeps track of the current figure and axes, so simple commands like plt.plot and plt.title act on them.

Level: beginnerTopic: NumPy pandas visualization

pyplot: an example

import matplotlib.pyplot as plt; plt.hist(marks); plt.title('Marks') draws and titles a histogram.

Related terms

More NumPy pandas visualization terms

Where you learn it

pyplot is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.