code: def test_linerange_aesthetics():
      p = (
          ggplot(data, aes("x"))
          + geom_linerange(aes(ymin="ymin", ymax="ymax"), size=2)
          + geom_linerange(
              aes(ymin="ymin+1", ymax="ymax+1", alpha="z"), size=2
          )
          + geom_linerange(
              aes(ymin="ymin+2", ymax="ymax+2", linetype="factor(z)"),
              size=2,
          )
          + geom_linerange(
              aes(ymin="ymin+3", ymax="ymax+3", color="z"), size=2
          )
          + geom_linerange(aes(ymin="ymin+4", ymax="ymax+4", size="z"))
      )
      assert p == "linerange_aesthetics"
  
imports: import numpy
  import pandas
  from plotnine import aes, geom_linerange, geom_pointrange, ggplot
label_desc: Use image node_id 1 for calling a global function with example usage: test_linerange_aesthetics() without return types