class_docstr: Layout of entire plot
class_docstr_tok: ["Layout","of","entire","plot"]
docstr: Determine x-axis label
  
  Parameters
  ----------
  labels : labels_view
      Labels as specified by the user through the `labs` or
      `xlab` calls.
  
  Returns
  -------
  out : str
      x-axis label
docstr_tok: ["Determine","x-axis","label","Parameters","--","--","--","--","--","labels",":","labels_view","Labels","as","specified","by","the","user","through","the","`","labs","`","or","`","xlab","`","calls",".","Returns","--","--","--","-","out",":","str","x-axis","label"]
code: def xlabel(self, labels: labels_view) -> str:
      """
      Determine x-axis label
  
      Parameters
      ----------
      labels : labels_view
          Labels as specified by the user through the `labs` or
          `xlab` calls.
  
      Returns
      -------
      out : str
          x-axis label
      """
      if self.panel_scales_x[0].name is not None:
          return self.panel_scales_x[0].name
      elif labels.x is not None:
          return labels.x
      return ""
  
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 9 for calling the Layout obj's underlying member method code with example usage: obj.xlabel(labels) and returns: str, self, labels