code: def test_plot_2d_polar():
      from sympy.plotting.pygletplot import PygletPlot
  
      p = PygletPlot(1 / x, [x, -1, 1, 4], "mode=polar", visible=False)
      p.wait_for_calculations()
  
file_path: sympy/sympy/plotting/pygletplot/tests/test_plotting.py
imports: from sympy.external.importtools import import_module
  from sympy.core.symbol import symbols
  from sympy.functions.elementary.exponential import log
  from sympy.functions.elementary.trigonometric import cos, sin
label_desc: Use image node_id 5 for calling a global function with example usage: test_plot_2d_polar() without return types