#NEWLINE# def select( self , * args , **kwargs ) : #NEWLINE# #INDENT# ' Query this object and all of its references for objects that\n        match the given selector.\n\n        There are a few different ways to call the ``select`` method.\n        The most general is to supply a JSON-like query dictionary as the\n        single argument or as keyword arguments:\n\n        Args:\n            selector (JSON-like) : some sample text\n\n        Keyword Arguments:\n            kwargs : query dict key/values as keyword arguments\n\n        For convenience, queries on just names can be made by supplying\n        the ``name`` string as the single parameter:\n\n        Args:\n            name (str) : the name to query on\n\n        Also queries on just type can be made simply by supplying the\n        ``Model`` subclass as the single parameter:\n\n        Args:\n            type (Model) : the type to query on\n\n        Returns:\n            seq[Model]\n\n        Examples:\n\n            .. code-block:: python\n\n                # These two are equivalent\n                p.select({"type": HoverTool})\n                p.select(HoverTool)\n\n                # These two are also equivalent\n                p.select({"name": "mycircle"})\n                p.select("mycircle")\n\n                # Keyword arguments can be supplied in place of selector dict\n                p.select({"name": "foo", "type": HoverTool})\n                p.select(name="foo", type=HoverTool)\n\n        ' #NEWLINE# selector = _select_helper ( args , kwargs ) #NEWLINE# from .. plotting.helpers import _list_attr_splat #NEWLINE# return _list_attr_splat ( find ( self . references ( ) , selector , { #NEWLINE# #INDENT# 'plot' : self , #NEWLINE# #UNINDENT# } ) )