code: def test_to_image_default(fig1, format):
      pio.orca.config.default_format = format
      img_bytes = pio.to_image(
          fig1, width=700, height=500, engine="orca"
      )
      assert_image_bytes(img_bytes, "fig1." + format)
  
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 8 for calling a global function with example usage: test_to_image_default(fig1, format) without return types