code: def test_aesthetics():
      p = (
          ggplot(data, aes("x", "y", xend="xend", yend="yend"))
          + geom_segment(size=2)
          +
          # Positive slope segments
          geom_segment(aes(yend="yend+1", color="factor(z)"), size=2)
          + geom_segment(
              aes(yend="yend+2", linetype="factor(z)"), size=2
          )
          + geom_segment(
              aes(yend="yend+3", size="z"), show_legend=False
          )
          + geom_segment(
              aes(yend="yend+4", alpha="z"), size=2, show_legend=False
          )
      )
  
      assert p == "aesthetics"
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_aesthetics() without return types