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 datetime
  import warnings
  import matplotlib.dates
label_desc: Use image node_id 21 for calling a global function with example usage: get_rect_xmax(data) and returns: max