code: def test_aesthetics():
      p = (
          ggplot(data)
          + geom_rug(aes("x", "y"), size=2)
          + geom_rug(
              aes("x+2*n", "y+2*n", alpha="z"), size=2, sides="tr"
          )
          + geom_rug(
              aes("x+4*n", "y+4*n", linetype="factor(z)"),
              size=2,
              sides="t",
          )
          + geom_rug(
              aes("x+6*n", "y+6*n", color="factor(z)"),
              size=2,
              sides="b",
          )
          + geom_rug(aes("x+8*n", "y+8*n", size="z"), sides="tblr")
      )
  
      assert p == "aesthetics"
  
imports: import numpy
  import pandas
  from plotnine import aes, coord_flip, geom_rug, ggplot
label_desc: Use image node_id 1 for calling a global function with example usage: test_aesthetics() without return types