code: def set_marksize(self):
          
          try:
              sz = float(self.w.mark_size.get_text())
          except ValueError:
              self.logger.error('Cannot set mark size')
              self.w.mark_size.set_text(str(self.marksize))
          else:
              self.marksize = sz
docs: Set size/radius of marking.