code: def test_plot_contour_return_type(pos_history):
      """Tests if the animation function returns the expected type"""
      assert isinstance(plot_contour(pos_history), FuncAnimation)
  
file_path: pyswarms/tests/utils/plotters/test_plotters.py
imports: import os
  import pytest
  import matplotlib
  from matplotlib.animation import FuncAnimation
  from matplotlib.axes import SubplotBase
  from pyswarms.utils.plotters import plot_contour, plot_cost_history, plot_surface
  from pyswarms.utils.plotters.plotters import _animate, _mesh
label_desc: Use image node_id 3 for calling a global function with example usage: test_plot_contour_return_type(pos_history) without return types