code: def test_coord_trans_reverse():
      # coord trans can reverse continous and discrete data
      p = (
          ggplot(data, aes("factor(x)"))
          + geom_bar(aes(fill="factor(z)"), show_legend=False)
          + coord_trans(x="reverse", y="reverse")
      )
      assert p == "coord_trans_reverse"
  
file_path: plotnine/tests/test_coords.py
imports: import numpy
  import pandas
  import pytest
  from mizani.transforms import trans_new
  from plotnine import aes, coord_fixed, coord_flip, coord_trans, geom_bar, geom_line, ggplot, xlim
label_desc: Use image node_id 4 for calling a global function with example usage: test_coord_trans_reverse() without return types