code: def coord_flip(xlim=None, ylim=None):
      """
      Flip axis of default coordinate system so that horizontal axis becomes vertical and vice versa.
  
      Parameters
      ----------
      xlim : list
          Limits (2 elements) for the x axis.
          1st element defines lower limit, 2nd element defines upper limit.
          None means no lower / upper bound - depending on the index in list.
      ylim : list
          Limits (2 elements) for the y axis.
          1st element defines lower limit, 2nd element defines upper limit.
          None means no lower / upper bound - depending on the index in list.
  
      Returns
      -------
      `FeatureSpec`
          Coordinate system specification.
  
      Examples
      --------
      .. jupyter-execute::
          :linenos:
          :emphasize-lines: 12
  
          import numpy as np
          from lets_plot import *
          LetsPlot.setup_html()
          np.random.seed(42)
          n = 10
          x = np.arange(n)
          y = 1 + np.random.randint(5, size=n)
          ggplot() + \\
              geom_bar(aes(x='x', y='y', fill='x'), data={'x': x, 'y': y}, \\
                       stat='identity', show_legend=False) + \\
              scale_fill_discrete() + \\
              coord_flip()
  
      """
  
      return _coord("flip", xlim=xlim, ylim=ylim, flip=True)
  
imports: from .core import FeatureSpec
label_desc: Use image node_id 4 for calling a global function with example usage: coord_flip(xlim, ylim) and returns: _coord