class_docstr: Layout of entire plot
class_docstr_tok: ["Layout","of","entire","plot"]
docstr: Determine x & y axis labels
  
  Parameters
  ----------
  labels : labels_view
      Labels as specified by the user through the `labs` or
      `ylab` calls.
  
  Returns
  -------
  out : labels_view
      Modified labels
docstr_tok: ["Determine","x","&","y","axis","labels","Parameters","--","--","--","--","--","labels",":","labels_view","Labels","as","specified","by","the","user","through","the","`","labs","`","or","`","ylab","`","calls",".","Returns","--","--","--","-","out",":","labels_view","Modified","labels"]
code: def set_xy_labels(self, labels: labels_view) -> labels_view:
      """
      Determine x & y axis labels
  
      Parameters
      ----------
      labels : labels_view
          Labels as specified by the user through the `labs` or
          `ylab` calls.
  
      Returns
      -------
      out : labels_view
          Modified labels
      """
      labels.x = self.xlabel(labels)
      labels.y = self.ylabel(labels)
      return labels
  
file_path: plotnine/plotnine/facets/layout.py
imports: from __future__ import annotations
  import typing
  from contextlib import suppress
  import numpy
  from .._utils import match
  from ..exceptions import PlotnineError
  from ..iapi import labels_view, layout_details, pos_scales
label_desc: Use image node_id 11 for calling the Layout obj's underlying member method code with example usage: obj.set_xy_labels(labels) and returns: labels