code: def get_rect_xmax(data):
      """Find maximum x value from four (x,y) vertices."""
      return max(data[0][0], data[1][0], data[2][0], data[3][0])
  
imports: import math
  import warnings
  import matplotlib.dates
  from matplotlib import __version__
label_desc: Use image node_id 22 for calling a global function with example usage: get_rect_xmax(data) and returns: max