AI engineering glossary · NumPy pandas visualization

What is figure?

Figure: The top-level container in Matplotlib that holds everything in one image: one or more Axes, titles, legends and the overall size. Setting its size and resolution controls how the final picture looks on screen or when saved.

Level: beginnerTopic: NumPy pandas visualization

Figure: an example

fig = plt.figure(figsize=(8, 4)) creates an empty canvas 8 inches wide and 4 inches tall.

Related terms

More NumPy pandas visualization terms

Where you learn it

Figure 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.