diff --git a/src/Graphics/Matplotlib.hs b/src/Graphics/Matplotlib.hs index 3da834c..fde573e 100644 --- a/src/Graphics/Matplotlib.hs +++ b/src/Graphics/Matplotlib.hs @@ -406,6 +406,9 @@ ylim l u = mp # "ax.set_ylim(" # l # "," # u # ")" -- | Add a horizontal line across the axis axhline y = mp # "ax.axhline(" # y ## ")" +-- | Add a vertical line across the axis +axvline x = mp # "ax.axvline(" # x ## ")" + -- | Insert a legend legend = mp # "ax.legend(" ## ")"