code: def test_ImageItem_axisorder():
      # All image tests pass again using the opposite axis order
      origMode = pg.getConfigOption("imageAxisOrder")
      altMode = "row-major" if origMode == "col-major" else "col-major"
      pg.setConfigOptions(imageAxisOrder=altMode)
      try:
          test_ImageItem(transpose=True)
      finally:
          pg.setConfigOptions(imageAxisOrder=origMode)
  
file_path: pyqtgraph/tests/graphicsItems/test_ImageItem.py
imports: import time
  import numpy
  import pytest
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtGui, QtTest
  from tests.image_testing import TransposedImageItem, assertImageApproved
label_desc: Use image node_id 4 for calling a global function with example usage: test_ImageItem_axisorder() without return types