code: def test_gaussian_weighted():
      p1 = p + geom_density(
          aes(weight="x"), kernel="gaussian", alpha=0.3
      )
      assert p1 == "gaussian_weighted"
  
file_path: plotnine/tests/test_geom_density.py
imports: import numpy
  import pandas
  import pytest
  from plotnine import aes, geom_density, ggplot, lims
  from plotnine.exceptions import PlotnineWarning
label_desc: Use image node_id 2 for calling a global function with example usage: test_gaussian_weighted() without return types