code: def _indegree(graph, *args, **kwds):
      """Returns the in-degrees in a list.
  
      See L{GraphBase.degree} for possible arguments.
      """
      kwds["mode"] = IN
      return graph.degree(*args, **kwds)
  
imports: from igraph._igraph import IN, OUT, arpack_options
  from igraph.statistics import Histogram
  from igraph.utils import deprecated
label_desc: Use image node_id 1 for calling a global function with example usage: _indegree(graph) and returns: graph