I’ll guess that you’re talking about Plots.jl, in which case I also guess that “leg” is short for legend and that hline disables legend anyway. You might try setting it to true in a separate plot command which may cause the legend to appear. The imaginary use case is you plot some data and want it to be labeled in a legend, and you add a horizontal or vertical line to the plot and don’t want it labeled like data. I’m speculating and haven’t tried it. Edit: revision
2 Likes