code: def test_area_aesthetics():
      p = (
          ggplot(data, aes("x", "ymax+2", group="factor(z)"))
          + geom_area()
          + geom_area(aes("x+width", alpha="z"))
          + geom_area(
              aes("x+2*width", linetype="factor(z)"),
              color="black",
              fill=None,
              size=2,
          )
          + geom_area(aes("x+3*width", color="z"), fill=None, size=2)
          + geom_area(aes("x+4*width", fill="factor(z)"))
          + geom_area(
              aes("x+5*width", size="z"), color="black", fill=None
          )
          + scale_x_continuous(
              breaks=[i * 2 * np.pi for i in range(7)],
              labels=["0"] + [rf"${2 * i}\pi$" for i in range(1, 7)],
          )
      )
  
      assert p == "area_aesthetics"
  
file_path: plotnine/tests/test_geom_ribbon_area.py
imports: import numpy
  import pandas
  from plotnine import aes, after_stat, coord_flip, facet_wrap, geom_area, geom_line, geom_ribbon, ggplot, scale_x_continuous
label_desc: Use image node_id 2 for calling a global function with example usage: test_area_aesthetics() without return types