code: def right_click_high_equalarea(self, event):
          
          if event.LeftIsDown():
              return
          elif self.high_EA_setting == "Zoom":
              self.high_EA_setting = "Pan"
              try:
                  self.toolbar4.pan('off')
              except TypeError:
                  pass
          elif self.high_EA_setting == "Pan":
              self.high_EA_setting = "Zoom"
              try:
                  self.toolbar4.zoom()
              except TypeError:
                  pass
docs: toggles between zoom and pan effects for the high equal area on
          right click
  
          Parameters
          ----------
          event : the wx.MouseEvent that triggered the call of this function
  
          Alters
          ------
          high_EA_setting, toolbar4 setting