From 7b31b68bc26c3a8ef5e1796a50417fbd87a1b56a Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Tue, 5 Mar 2024 18:29:02 +0300 Subject: [PATCH] Left justify caption for theme_matplotlib --- plotnine/themes/theme_matplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotnine/themes/theme_matplotlib.py b/plotnine/themes/theme_matplotlib.py index d6b44d2bb..c800bede3 100644 --- a/plotnine/themes/theme_matplotlib.py +++ b/plotnine/themes/theme_matplotlib.py @@ -88,7 +88,7 @@ def __init__(self, rc=None, fname=None, use_defaults=True): plot_caption=element_text( ha="right", va="bottom", - ma="right", + ma="left", margin={"t": m, "units": "fig"}, ), plot_margin=m,