@@ -1262,6 +1262,11 @@ def __init__(self, offsetbox, xy,
1262
1262
(accessible as the ``patch`` attribute of the `.AnnotationBbox`).
1263
1263
If *frameon* is set to False, this patch is made invisible.
1264
1264
1265
+ annotation_clip: bool or None, default: None
1266
+ Whether to clip (i.e. not draw) the annotation when the annotation
1267
+ point *xy* is outside the axes area. see `.Annotation` for
1268
+ details.
1269
+
1265
1270
pad : float, default: 0.4
1266
1271
Padding around the offsetbox.
1267
1272
@@ -1270,8 +1275,24 @@ def __init__(self, offsetbox, xy,
1270
1275
the offset box w.r.t. the *boxcoords*.
1271
1276
The lower-left corner is (0, 0) and upper-right corner is (1, 1).
1272
1277
1278
+ bboxprops : dict, optional
1279
+ A dictionary of properties to set for the annotation bounding box,
1280
+ for example *boxstyle* and *alpha*. See `.FancyBboxPatch` for
1281
+ details.
1282
+
1283
+ arrowprops: dict, optional
1284
+ Arrow properties, see `.Annotation` for description.
1285
+
1286
+ fontsize: float or str, optional
1287
+ Translated to points and passed as *mutation_scale* into
1288
+ `.FancyBboxPatch` to scale attributes of the box style (e.g. pad
1289
+ or rounding_size). Passed here as *fontsize* for the convenience
1290
+ of using the named sizes. If not given, :rc:`legend.fontsize` is
1291
+ used. See `~.Text.set_fontsize` for valid values.
1292
+
1273
1293
**kwargs
1274
- Other parameters are identical to `.Annotation`.
1294
+ Other `AnnotationBbox` properties. See `~.AnnotationBbox.set` for
1295
+ a list.
1275
1296
"""
1276
1297
1277
1298
martist .Artist .__init__ (self )
0 commit comments