Git Product home page Git Product logo

Comments (2)

ruidc avatar ruidc commented on May 13, 2024

ie.:
@@ -420,32 +420,32 @@ class NavigationToolbar2QT( NavigationToolbar2, QtGui.QToolBar ):
return QtGui.QIcon(os.path.join(self.basedir, name))

 def _init_toolbar(self):
     self.basedir = os.path.join(matplotlib.rcParams[ 'datapath' ],'images')
  •    a = self.addAction(self._icon('home.svg'), 'Home', self.home)
    
  •    a = self.addAction(self._icon('home.png'), 'Home', self.home)
     a.setToolTip('Reset original view')
    
  •    a = self.addAction(self._icon('back.svg'), 'Back', self.back)
    
  •    a = self.addAction(self._icon('back.png'), 'Back', self.back)
     a.setToolTip('Back to previous view')
    
  •    a = self.addAction(self._icon('forward.svg'), 'Forward', self.forward)
    
  •    a = self.addAction(self._icon('forward.png'), 'Forward', self.forward)
     a.setToolTip('Forward to next view')
     self.addSeparator()
    
  •    a = self.addAction(self._icon('move.svg'), 'Pan', self.pan)
    
  •    a = self.addAction(self._icon('move.png'), 'Pan', self.pan)
     a.setToolTip('Pan axes with left mouse, zoom with right')
    
  •    a = self.addAction(self._icon('zoom_to_rect.svg'), 'Zoom', self.zoom)
    
  •    a = self.addAction(self._icon('zoom_to_rect.png'), 'Zoom', self.zoom)
     a.setToolTip('Zoom to rectangle')
     self.addSeparator()
     a = self.addAction(self._icon('subplots.png'), 'Subplots',
             self.configure_subplots)
     a.setToolTip('Configure subplots')
    
     if figureoptions is not None:
    
  •        a = self.addAction(self._icon("qt4_editor_options.svg"),
    
  •        a = self.addAction(self._icon("qt4_editor_options.png"),
                            'Customize', self.edit_parameters)
         a.setToolTip('Edit curves line and axes parameters')
    
  •    a = self.addAction(self._icon('filesave.svg'), 'Save',
    
  •    a = self.addAction(self._icon('filesave.png'), 'Save',
             self.save_figure)
     a.setToolTip('Save the figure')
    
    
     self.buttons = {}
    

from matplotlib.

ruidc avatar ruidc commented on May 13, 2024

oops, superceded by #143 that has pull request (sry did not know this was the behaviour)

from matplotlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.