code: def _get_colors(p):
      return [l.geom.aes_params["color"] for l in p.layers]
  
file_path: plotnine/tests/test_layers.py
imports: from pathlib import Path
  import numpy
  import pandas
  import pytest
  from plotnine import aes, geom_path, geom_point, ggplot
  from plotnine.exceptions import PlotnineError, PlotnineWarning
  from plotnine.layer import Layers, layer
label_desc: Use image node_id 1 for calling a global function with example usage: _get_colors(p) and returns: unknown