from pathlib import Path import matplotlib.image as mpimg import matplotlib.pyplot as plt import numpy as np days = np.array([1, 2, 3, 4, 5]) mean_latency = np.array([42, 39, 36, 38, 35]) latency_error = np.array([2.5, 2.0, 1.8, 2.2, 1.6]) batch_size = np.array([20, 40, 60, 80, 100]) throughput = np.array([120, 168, 205, 236, 251]) batch_error = np.array([3, 4, 5, 5, 6]) lower_error = np.array([9, 12, 15, 13, 14]) upper_error = np.array([14, 16, 20, 18, 21]) asymmetric_error = np.vstack([lower_error, upper_error])