class_docstr: Grandparent class for plotting
  modes. Serves as interface for
  registration, lookup, and init
  of modes.
  
  To create a new plot mode,
  inherit from PlotModeBase
  or one of its children, such
  as PlotSurface or PlotCurve.
class_docstr_tok: ["Grandparent","class","for","plotting","modes",".","Serves","as","interface","for","registration",",","lookup",",","and","init","of","modes",".","To","create","a","new","plot","mode",",","inherit","from","PlotModeBase","or","one","of","its","children",",","such","as","PlotSurface","or","PlotCurve","."]
code: def _interpret_args(args):
      interval_wrong_order = (
          "PlotInterval %s was given before any function(s)."
      )
      interpret_error = (
          "Could not interpret %s as a function or interval."
      )
  
      functions, intervals = [], []
      if isinstance(args[0], GeometryEntity):
          for coords in list(args[0].arbitrary_point()):
              functions.append(coords)
          intervals.append(
              PlotInterval.try_parse(args[0].plot_interval())
          )
      else:
          for a in args:
              i = PlotInterval.try_parse(a)
              if i is not None:
                  if len(functions) == 0:
                      raise ValueError(interval_wrong_order % (str(i)))
                  else:
                      intervals.append(i)
              else:
                  if is_sequence(a, include=str):
                      raise ValueError(interpret_error % (str(a)))
                  try:
                      f = sympify(a)
                      functions.append(f)
                  except TypeError:
                      raise ValueError(interpret_error % str(a))
  
      return functions, intervals
  
imports: from .plot_interval import PlotInterval
  from .plot_object import PlotObject
  from .util import parse_option_string
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import sympify
  from sympy.geometry.entity import GeometryEntity
  from sympy.utilities.iterables import is_sequence
label_desc: Use image node_id 11 for calling the PlotMode obj's underlying member method code with example usage: obj._interpret_args(args) and returns: functions,  intervals