plt.type pandas code example Example: how to plot a pandas dataframe with matplotlib import pandas as pd data = pd.Dataframe( # Data ) data.plot()