From 56bdcd13ff22d90f4b8a30b70031cdd69ffe384e 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 d3e3302472d2..8d89e3abcfc2 100644 --- a/lib/matplotlib/offsetbox.py +++ b/lib/matplotlib/offsetbox.py @@ -1233,8 +1233,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 -----