from matplotlib.backends.backend_tkagg import NavigationToolbar2Tk

class NavigationToolbar(NavigationToolbar2Tk):
    # only display required buttons
    toolitems = [t for t in NavigationToolbar2Tk.toolitems if
                 t[0] in ('Home', 'Pan', 'Zoom', 'Save')]
    
    def set_message(self, msg):
        pass
a510a887f3d5a3b49c1ea4d06c9166aa02789fd9
<mask token>


class NavigationToolbar(NavigationToolbar2Tk):
    <mask token>
    <mask token>

<mask token>


class NavigationToolbar(NavigationToolbar2Tk):
    <mask token>

    def set_message(self, msg):
        pass

<mask token>


class NavigationToolbar(NavigationToolbar2Tk):
    toolitems = [t for t in NavigationToolbar2Tk.toolitems if t[0] in (
        'Home', 'Pan', 'Zoom', 'Save')]

    def set_message(self, msg):
        pass

from matplotlib.backends.backend_tkagg import NavigationToolbar2Tk


class NavigationToolbar(NavigationToolbar2Tk):
    toolitems = [t for t in NavigationToolbar2Tk.toolitems if t[0] in (
        'Home', 'Pan', 'Zoom', 'Save')]

    def set_message(self, msg):
        pass

from matplotlib.backends.backend_tkagg import NavigationToolbar2Tk

class NavigationToolbar(NavigationToolbar2Tk):
    # only display required buttons
    toolitems = [t for t in NavigationToolbar2Tk.toolitems if
                 t[0] in ('Home', 'Pan', 'Zoom', 'Save')]
    
    def set_message(self, msg):
        pass