class_docstr: Series Accessor & Method for creating Vega-Lite visualizations.
  
  Examples
  --------
  >>> s.vgplot.line()  # doctest: +SKIP
  >>> s.vgplot.area()  # doctest: +SKIP
  >>> s.vgplot.bar()  # doctest: +SKIP
  >>> s.vgplot.barh()  # doctest: +SKIP
  >>> s.vgplot.hist()  # doctest: +SKIP
  >>> s.vgplot.kde()  # doctest: +SKIP
  >>> s.vgplot.density()  # doctest: +SKIP
  
  Plotting methods can also be accessed by calling the accessor as a method
  with the ``kind`` argument: ``s.vgplot(kind='line', **kwds)``
  is equivalent to ``s.vgplot.line(**kwds)``
docstr: Horizontal bar plot for Series data
  
  >>> series.vgplot.barh()  # doctest: +SKIP
  
  Parameters
  ----------
  alpha : float, optional
      transparency level, 0 <= alpha <= 1
  width : int, optional
      the width of the plot in pixels
  height : int, optional
      the height of the plot in pixels
  ax: altair.Chart, optional
      chart to be overlayed with this vis (convinience method for `chart1 + chart2`)
  
  Returns
  -------
  chart : alt.Chart
      altair chart representation
docstr_tok: ["Horizontal","bar","plot","for","Series","data",">",">",">","series.vgplot.barh","(",")","#","doctest",":","+SKIP","Parameters","--","--","--","--","--","alpha",":","float",",","optional","transparency","level",",","0","<","=","alpha","<","=","1","width",":","int",",","optional","the","width","of","the","plot","in","pixels","height",":","int",",","optional","the","height","of","the","plot","in","pixels","ax",":","altair.Chart",",","optional","chart","to","be","overlayed","with","this","vis","(","convinience","method","for","`","chart1","+","chart2","`",")","Returns","--","--","--","-","chart",":","alt.Chart","altair","chart","representation"]
code: def barh(self, alpha=None, width=450, height=300, ax=None, **kwds):
      """Horizontal bar plot for Series data
  
      >>> series.vgplot.barh()  # doctest: +SKIP
  
      Parameters
      ----------
      alpha : float, optional
          transparency level, 0 <= alpha <= 1
      width : int, optional
          the width of the plot in pixels
      height : int, optional
          the height of the plot in pixels
      ax: altair.Chart, optional
          chart to be overlayed with this vis (convinience method for `chart1 + chart2`)
  
      Returns
      -------
      chart : alt.Chart
          altair chart representation
      """
      chart = self.bar(alpha=alpha, width=width, height=height, **kwds)
  
      enc = chart.encoding
      enc["x"], enc["y"] = enc["y"], enc["x"]
  
      if ax is not None:
          return ax + chart
      return chart
  
imports: import numpy
  import pandas
  import altair
  from ._utils import infer_vegalite_type, unpivot_frame, warn_if_keywords_unused, validate_aggregation
  from ._pandas_internals import PandasObject, register_dataframe_accessor, register_series_accessor
label_desc: Use image node_id 5 for calling the SeriesPlotMethods obj's underlying member method code with example usage: obj.barh(alpha, width, height, ax) and returns: chart, unknown