code: def test_discrete_x():
      p = ggplot(data, aes("xd", "y")) + stat_summary_bin(
          fun_y=np.mean, fun_ymin=np.min, fun_ymax=np.max, geom="bar"
      )
  
      assert p == "discrete_x"
  
imports: import numpy
  import pandas
  from plotnine import aes, ggplot, stat_summary_bin
label_desc: Use image node_id 1 for calling a global function with example usage: test_discrete_x() without return types