code: def test_aesthetics():
      p = (
          ggplot(data, aes("x", "y"))
          + geom_path(size=4)
          + geom_path(
              aes(y="y+2", alpha="x"), size=4, show_legend=False
          )
          + geom_path(
              aes(y="y+4"), size=4, linetype="dashed", show_legend=False
          )
          + geom_path(
              aes(y="y+6", size="x"), color="red", show_legend=False
          )
          + geom_path(aes(y="y+8", color="x"), size=4)
      )
  
      assert p == "aesthetics"
  
file_path: plotnine/tests/test_geom_path_line_step.py
imports: import numpy
  import pandas
  import pytest
  from plotnine import aes, arrow, facet_grid, geom_line, geom_path, geom_point, geom_step, ggplot
  from plotnine.exceptions import PlotnineWarning
label_desc: Use image node_id 1 for calling a global function with example usage: test_aesthetics() without return types