code: def test_coord_trans_backtransforms():
      data = pd.DataFrame({"x": [-np.inf, np.inf], "y": [1, 2]})
      p = (
          ggplot(data, aes("x", "y"))
          + geom_line(size=2)
          + xlim(1, 2)
          + coord_trans(x="log10")
      )
      assert p == "coord_trans_backtransform"
  
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 5 for calling a global function with example usage: test_coord_trans_backtransforms() without return types