class_docstr: Value must be in interval
class_docstr_tok: ["Value","must","be","in","interval"]
code: def __call__(self, s):
      try:
          s = float(s)
      except ValueError:
          raise RuntimeError('Value must be a float; found "%s"' % s)
  
      if self.cmin and s < self.vmin:
          raise RuntimeError(
              'Value must be >= %f; found "%f"' % (self.vmin, s)
          )
      elif not self.cmin and s <= self.vmin:
          raise RuntimeError(
              'Value must be > %f; found "%f"' % (self.vmin, s)
          )
  
      if self.cmax and s > self.vmax:
          raise RuntimeError(
              'Value must be <= %f; found "%f"' % (self.vmax, s)
          )
      elif not self.cmax and s >= self.vmax:
          raise RuntimeError(
              'Value must be < %f; found "%f"' % (self.vmax, s)
          )
      return s
  
imports: from __future__ import absolute_import, division, print_function
  import six
  from functools import reduce
  import operator
  import os
  import warnings
  import re
  from matplotlib import cbook, testing
  from matplotlib.cbook import mplDeprecation, deprecated, ls_mapper
  from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
  from matplotlib.colors import is_color_like
  from cycler import Cycler, cycler
label_desc: Use image node_id 2 for calling the ValidateInterval obj's underlying member method code with example usage: obj.__call__(s) and returns: s