code: def fixture_run_in_temp_dir(tmpdir):
      """Set a new, clean, temporary working directory for every test."""
      os.chdir(tmpdir)
  
imports: import os
  import matplotlib
  import pytest
  from maze.utils.log_stats_utils import clear_global_state
label_desc: Use image node_id 2 for calling a global function with example usage: fixture_run_in_temp_dir(tmpdir) without return types