code: def test_scale_transformed_breaks():
      data = pd.DataFrame({"x": np.repeat(range(1, 5), range(1, 5))})
      p = ggplot(data, aes("x")) + geom_histogram(breaks=[1, 2.5, 4])
      out1 = layer_data(p)
      out2 = layer_data(p + scale_x_sqrt())
      np.testing.assert_allclose(out1.xmin, [1, 2.5])
      np.testing.assert_allclose(out2.xmin, np.sqrt([1, 2.5]))
  
file_path: plotnine/tests/test_geom_bar_col_histogram.py
imports: import numpy
  import pandas
  from plotnine import aes, after_stat, geom_bar, geom_col, geom_histogram, geom_text, ggplot, scale_x_sqrt
  from plotnine.stats.binning import freedman_diaconis_bins
  from .conftest import layer_data
label_desc: Use image node_id 4 for calling a global function with example usage: test_scale_transformed_breaks() without return types