code: def test_scale_continuous_with_color_aesthetic():
      spec = gg.scale_color_continuous(low="red", high="blue")
      as_dict = spec.as_dict()
      assert as_dict["aesthetic"] == "color"
      assert as_dict["scale_mapper_kind"] == "color_gradient"
      assert as_dict["low"] == "red"
      assert as_dict["high"] == "blue"
  
imports: import pytest
  import lets_plot
  from lets_plot.plot.core import FeatureSpec
  from lets_plot.plot.core import FeatureSpecArray
  from lets_plot.plot.scale import _scale
label_desc: Use image node_id 16 for calling a global function with example usage: test_scale_continuous_with_color_aesthetic() without return types