code: def npmax(array: np.ndarray):
      """Get max value and index."""
      arrayindex = array.argmax(1)
      arrayvalue = array.max(1)
      i = arrayvalue.argmax()
      j = arrayindex[i]
      return i, j
  
imports: import os
  import math
  import base64
  from typing import Callable
  import cv2
  import numpy
  import matplotlib
  from matplotlib import pyplot
  from matplotlib.figure import Figure
  from matplotlib.backends.backend_agg import FigureCanvasAgg
label_desc: Use image node_id 1 for calling a global function with example usage: npmax(array) and returns: i,  j