code: def get_scale_text(self):
          
          scalefactor = self.get_scale_max()
          if scalefactor >= 1.0:
              text = '%.2fx' % (scalefactor)
          else:
              text = '1/%.2fx' % (1.0 / scalefactor)
          return text
docs: Report current scaling in human-readable format.
  
          Returns
          -------
          text : str
              ``'<num> x'`` if enlarged, or ``'1/<num> x'`` if shrunken.