From 532cc2995db9caee73854a8927a2e044be678787 Mon Sep 17 00:00:00 2001 From: Elan Ernest <23121882+ImportanceOfBeingErnest@users.noreply.github.com> Date: Wed, 10 Oct 2018 15:22:47 +0200 Subject: [PATCH] Backport PR #12469: Clarify documentation of offsetbox.AnchoredText's prop kw argument --- lib/matplotlib/offsetbox.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/offsetbox.py b/lib/matplotlib/offsetbox.py index 75d910936555..1f4a159c67de 100644 --- a/lib/matplotlib/offsetbox.py +++ b/lib/matplotlib/offsetbox.py @@ -1217,8 +1217,9 @@ def __init__(self, s, loc, pad=0.4, borderpad=0.5, prop=None, **kwargs): borderpad : float, optional Pad between the frame and the axes (or *bbox_to_anchor*). - prop : `matplotlib.font_manager.FontProperties` - Font properties. + prop : dictionary, optional, default: None + Dictionary of keyword parameters to be passed to the + `~matplotlib.text.Text` instance contained inside AnchoredText. Notes -----