How to add line in matplotlib anywhere in subplots

Example:

# Add line e.g. between subplot rows
y = 0.595 # Manually tuned so it's in the middle between the two rows
fig.add_artist(Line2D([0, 1], [y, y], transform=fig.transFigure, color="black", linewidth=0.5))