docstr: Applies nested options definition.
  
  Applies options on an object or nested group of objects in a
  flat format. Unlike the .options method, .opts modifies the
  options in place by default. If the options are to be set
  directly on the object a simple format may be used, e.g.:
  
      obj.opts(cmap='viridis', show_title=False)
  
  If the object is nested the options must be qualified using
  a type[.group][.label] specification, e.g.:
  
      obj.opts('Image', cmap='viridis', show_title=False)
  
  or using:
  
      obj.opts({'Image': dict(cmap='viridis', show_title=False)})
  
  Args:
      *args: Sets of options to apply to object
          Supports a number of formats including lists of Options
          objects, a type[.group][.label] followed by a set of
          keyword options to apply and a dictionary indexed by
          type[.group][.label] specs.
      backend (optional): Backend to apply options to
          Defaults to current selected backend
      clone (bool, optional): Whether to clone object
          Options can be applied in place with clone=False
      **kwargs: Keywords of options
          Set of options to apply to the object
  
  For backwards compatibility, this method also supports the
  option group semantics now offered by the hv.opts.apply_groups
  utility. This usage will be deprecated and for more
  information see the apply_options_type docstring.
  
  Returns:
      Returns the object or a clone with the options applied
docstr_tok: ["Applies","nested","options","definition",".","Applies","options","on","an","object","or","nested","group","of","objects","in","a","flat","format",".","Unlike","the",".options","method",",",".opts","modifies","the","options","in","place","by","default",".","If","the","options","are","to","be","set","directly","on","the","object","a","simple","format","may","be","used",",","e.g",".",":","obj.opts","(","cmap='viridis","'",",","show_title=False",")","If","the","object","is","nested","the","options","must","be","qualified","using","a","type","[",".group","]","[",".label","]","specification",",","e.g",".",":","obj.opts","(","'Image","'",",","cmap='viridis","'",",","show_title=False",")","or","using",":","obj.opts","(","{","'Image","'",":","dict","(","cmap='viridis","'",",","show_title=False",")","}",")","Args",":","*","args",":","Sets","of","options","to","apply","to","object","Supports","a","number","of","formats","including","lists","of","Options","objects",",","a","type","[",".group","]","[",".label","]","followed","by","a","set","of","keyword","options","to","apply","and","a","dictionary","indexed","by","type","[",".group","]","[",".label","]","specs",".","backend","(","optional",")",":","Backend","to","apply","options","to","Defaults","to","current","selected","backend","clone","(","bool",",","optional",")",":","Whether","to","clone","object","Options","can","be","applied","in","place","with","clone=False","*","*","kwargs",":","Keywords","of","options","Set","of","options","to","apply","to","the","object","For","backwards","compatibility",",","this","method","also","supports","the","option","group","semantics","now","offered","by","the","hv.opts.apply_groups","utility",".","This","usage","will","be","deprecated","and","for","more","information","see","the","apply_options_type","docstring",".","Returns",":","Returns","the","object","or","a","clone","with","the","options","applied"]
code: def __call__(self, *args, **kwargs):
      """Applies nested options definition.
  
      Applies options on an object or nested group of objects in a
      flat format. Unlike the .options method, .opts modifies the
      options in place by default. If the options are to be set
      directly on the object a simple format may be used, e.g.:
  
          obj.opts(cmap='viridis', show_title=False)
  
      If the object is nested the options must be qualified using
      a type[.group][.label] specification, e.g.:
  
          obj.opts('Image', cmap='viridis', show_title=False)
  
      or using:
  
          obj.opts({'Image': dict(cmap='viridis', show_title=False)})
  
      Args:
          *args: Sets of options to apply to object
              Supports a number of formats including lists of Options
              objects, a type[.group][.label] followed by a set of
              keyword options to apply and a dictionary indexed by
              type[.group][.label] specs.
          backend (optional): Backend to apply options to
              Defaults to current selected backend
          clone (bool, optional): Whether to clone object
              Options can be applied in place with clone=False
          **kwargs: Keywords of options
              Set of options to apply to the object
  
      For backwards compatibility, this method also supports the
      option group semantics now offered by the hv.opts.apply_groups
      utility. This usage will be deprecated and for more
      information see the apply_options_type docstring.
  
      Returns:
          Returns the object or a clone with the options applied
      """
      if not (args) and not (kwargs):
          return self._obj
      if self._mode is None:
          apply_groups, _, _ = util.deprecated_opts_signature(
              args, kwargs
          )
          if apply_groups:
              msg = (
                  "Calling the .opts method with options broken down by options "
                  "group (i.e. separate plot, style and norm groups) has been removed. "
                  "Use the .options method converting to the simplified format "
                  "instead or use hv.opts.apply_groups for backward compatibility."
              )
              raise ValueError(msg)
  
      return self._dispatch_opts(*args, **kwargs)
  
imports: import copy
  import sys
  from functools import wraps
  from types import FunctionType
  import param
  from .None import util
  from .pprint import PrettyPrinter
label_desc: Use image node_id 3 for calling the Opts obj's underlying member method code with example usage: obj.__call__() and returns: self, self