Bounding boxes on graph

Hi,

Is there a way to display bounding boxes on a given time series graph. My goal is to surround specific patterns inside the data. The coordinates of the boxes are given by a machine learning model called yolo.

I’d like to achieve something like shown on the picture

Thanks for your help !