Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Matplotlib Toolbar from the Graph

I am drawing a graph in python using Matplotlib library. I want to remove the whole toolbar from the graph. which look like this.

Toolbar menu

i have been trying alot but not able to figure out the way to do it. kindly direct me to the File/code and suggest me the modifications to be carried out.

like image 986
Vivek Saurav Avatar asked May 08 '13 03:05

Vivek Saurav


1 Answers

You can disable the tool bar via rcParams. Either add (or uncomment) the line

toolbar: None

in your matplotlibrc file or dynamically,

rcParams['toolbar'] = 'None'
like image 178
tacaswell Avatar answered Oct 24 '22 18:10

tacaswell