code: def test_pydotprint_profile():
      A = matrix()
      prof = pytensor.compile.ProfileStats(
          atexit_print=False, gpu_checks=False
      )
      f = pytensor.function([A], A + 1, profile=prof)
      pydotprint(f, print_output_file=False)
      f([[1]])
      pydotprint(f, print_output_file=False)
  
imports: import logging
  from io import StringIO
  from textwrap import dedent
  import numpy
  import pytest
  import pytensor
  from pytensor.compile.mode import get_mode
  from pytensor.compile.ops import deep_copy_op
  from pytensor.printing import PatternPrinter, PPrinter, Print, debugprint, default_printer, get_node_by_id, min_informative_str, pp, pydot_imported, pydotprint
  from pytensor.tensor import as_tensor_variable
  from pytensor.tensor.type import dmatrix, dvector, matrix
  from tests.graph.utils import MyInnerGraphOp, MyOp, MyVariable
label_desc: Use image node_id 4 for calling a global function with example usage: test_pydotprint_profile() without return types