import matplotlib.pyplot as plt
xs = [1, 100]
plt.figure(figsize = (10, 7))
plt.vlines(x = [37, 37.25, 37.5], ymin = 0, ymax = max(xs),
colors = 'purple',
label = 'vline_multiple - full height')
plt.vlines(x = [38, 38.25, 38.5], ymin = [0, 25, 75], ymax = max(xs),colors = 'teal', label = 'vline_multiple - partial height')
plt.vlines(x = 39, ymin = 0, ymax = max(xs), colors = 'green', label = 'vline_single - full height')
plt.vlines(x = 39.25, ymin = 25, ymax = max(xs), colors = 'green', label = 'vline_single - partial height')
plt.legend()
plt.show()