code: def get_rot2d(theta):
      return np.array(
          [
              [np.cos(theta), -np.sin(theta)],
              [np.sin(theta), np.cos(theta)],
          ]
      )
  
imports: import matplotlib.pyplot
  import numpy
  from tslearn.metrics import dtw_path, ctw_path
label_desc: Use image node_id 2 for calling a global function with example usage: get_rot2d(theta) and returns: np