code: def test_non_linear_smooth():
      p = (
          ggplot(linear_data, aes("x"))
          + geom_point(aes(y="y_noisy"))
          + geom_smooth(
              aes(y="y_noisy"), method="loess", span=0.3, color="blue"
          )
      )
  
      assert p == "non_linear_smooth"
  
imports: import numpy
  import pandas
  import pytest
  import statsmodels.api
  from plotnine import aes, coord_trans, geom_point, geom_smooth, ggplot, stat_smooth
  from plotnine.exceptions import PlotnineWarning
label_desc: Use image node_id 3 for calling a global function with example usage: test_non_linear_smooth() without return types