disable matplotlib toolbar

dimka picture dimka · Dec 19, 2012 · Viewed 18.5k times · Source

Is there a way to disable/hide matplotlib Toolbar that shows up on the bottom?

I'd tried something like this:

import matplotlib as mpl
mpl.rcParams['toolbar'] = 'None'

but unfortunately that didn't work.

Answer

Doughy picture Doughy · Mar 20, 2013

Make sure to call mpl.rcParams['toolbar'] = 'None' before you instantiate any figures.