# Charts Straight from pandas: df.plot

Every DataFrame and Series has a plot method that draws it with matplotlib, so kind= picks a line, bar, barh, scatter or hist chart, ax=ax draws it on an Axes you made, a groupby result can be plotted at the end of the same chain, and what comes back is the same matplotlib Axes you label, save and test.

![Cheat sheet: Charts Straight from pandas: df.plot](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/18caeff7602a477aa9af55927fe7090e.webp)

- Category: Data Analysis
- Level: Journeyman
- Tags: Axes, DataFrame.plot(), matplotlib, python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/data-pandas-plot-cheat-sheet
