code: def test_interactive_vs_noninteractive():
      # verify that if a *Series class receives a `params` dictionary, it sets
      # is_interactive=True
      x, y, z, u, v = symbols("x, y, z, u, v")
  
      s = LineOver1DRangeSeries(cos(x), (x, -5, 5))
      assert not s.is_interactive
      s = LineOver1DRangeSeries(u * cos(x), (x, -5, 5), params={u: 1})
      assert s.is_interactive
  
      s = Parametric2DLineSeries(cos(x), sin(x), (x, -5, 5))
      assert not s.is_interactive
      s = Parametric2DLineSeries(
          u * cos(x), u * sin(x), (x, -5, 5), params={u: 1}
      )
      assert s.is_interactive
  
      s = Parametric3DLineSeries(cos(x), sin(x), x, (x, -5, 5))
      assert not s.is_interactive
      s = Parametric3DLineSeries(
          u * cos(x), u * sin(x), x, (x, -5, 5), params={u: 1}
      )
      assert s.is_interactive
  
      s = SurfaceOver2DRangeSeries(cos(x * y), (x, -5, 5), (y, -5, 5))
      assert not s.is_interactive
      s = SurfaceOver2DRangeSeries(
          u * cos(x * y), (x, -5, 5), (y, -5, 5), params={u: 1}
      )
      assert s.is_interactive
  
      s = ContourSeries(cos(x * y), (x, -5, 5), (y, -5, 5))
      assert not s.is_interactive
      s = ContourSeries(
          u * cos(x * y), (x, -5, 5), (y, -5, 5), params={u: 1}
      )
      assert s.is_interactive
  
      s = ParametricSurfaceSeries(
          u * cos(v), v * sin(u), u + v, (u, -5, 5), (v, -5, 5)
      )
      assert not s.is_interactive
      s = ParametricSurfaceSeries(
          u * cos(v * x),
          v * sin(u),
          u + v,
          (u, -5, 5),
          (v, -5, 5),
          params={x: 1},
      )
      assert s.is_interactive
  
imports: from sympy import latex, exp, symbols, I, pi, sin, cos, tan, log, sqrt, re, im, arg, frac, Sum, S, Abs, lambdify, Function, dsolve, Eq, floor, Tuple
  from sympy.external import import_module
  from sympy.plotting.series import LineOver1DRangeSeries, Parametric2DLineSeries, Parametric3DLineSeries, SurfaceOver2DRangeSeries, ContourSeries, ParametricSurfaceSeries, ImplicitSeries, _set_discretization_points, List2DSeries
  from sympy.testing.pytest import raises, warns, XFAIL, skip, ignore_warnings
label_desc: Use image node_id 5 for calling a global function with example usage: test_interactive_vs_noninteractive() without return types