Made use of the hold_datalim context manager in stock_img.