code: def setup():
      # Reset orca state
      pio.orca.config.restore_defaults(reset_server=False)
  
      # Clear out temp images dir
      shutil.rmtree(tmp_dir, ignore_errors=True)
      os.mkdir(tmp_dir)
  
      # Make failed directory
      if not os.path.exists(failed_dir):
          os.mkdir(failed_dir)
  
imports: import plotly
  import plotly.io
  import plotly.graph_objs
  import os
  import shutil
  import pytest
  import sys
  import pandas
  from io import BytesIO
label_desc: Use image node_id 1 for calling a global function with example usage: setup() without return types