Remove Matplotlib Toolbar from Chart

I draw a graph in python using the Matplotlib library. I want to remove the entire toolbar from the chart. which look like this.

Toolbar menu

I tried a lot, but could not figure out how to do this. kindly direct me to the file / code and suggest me the changes that need to be done.

+4
source share
1 answer

You can disable the toolbar with rcParams . Either add (or uncomment) the line

 toolbar: None 

in your matplotlibrc file or dynamically,

 rcParams['toolbar'] = 'None' 
+6
source

Source: https://habr.com/ru/post/1479666/


All Articles