How to suppress legend in pandas .plot()

In order to suppress the legend when using pandas.plot(), use

pandas_plot_legend_false.py
legend=False

as an Argument to .plot(), for example:

pandas_plot_example.py
df.plot(legend=False)

 


Check out similar posts by category: Pandas, Python