code: def test_global_flavor_not_override_with_named_theme():
      gg.LetsPlot.set_theme(flavor_darcula())
  
      spec = gg.ggplot() + _geom("foo") + theme_classic()
  
      assert "darcula" == spec.as_dict()["theme"]["flavor"]
  
imports: import lets_plot
  from lets_plot import element_blank
  from lets_plot import element_rect
  from lets_plot.plot import theme
  from lets_plot.plot.geom import _geom
  from lets_plot.plot.theme_set import theme_classic, flavor_darcula, flavor_solarized_dark
label_desc: Use image node_id 17 for calling a global function with example usage: test_global_flavor_not_override_with_named_theme() without return types