@@ -1206,12 +1206,36 @@ def legend(self, handles, labels, *args, **kwargs):
1206
1206
if *False*, legend marker is placed to the right of the legend
1207
1207
label
1208
1208
1209
+ *frameon*: [ *None* | bool ]
1210
+ Control whether the legend should be drawn on a patch (frame).
1211
+ Default is *None* which will take the value from the
1212
+ ``legend.frameon`` :data:`rcParam<matplotlib.rcParams>`.
1213
+
1209
1214
*fancybox*: [ *None* | *False* | *True* ]
1210
1215
if *True*, draw a frame with a round fancybox. If *None*, use rc
1211
1216
1212
1217
*shadow*: [ *None* | *False* | *True* ]
1213
1218
If *True*, draw a shadow behind legend. If *None*, use rc settings.
1214
1219
1220
+ *framealpha*: [ *None* | float ]
1221
+ Control the alpha transparency of the legend's background.
1222
+ Default is *None* which will take the value from the
1223
+ ``legend.framealpha`` :data:`rcParam<matplotlib.rcParams>`.
1224
+
1225
+ *facecolor*: [ *None* | "inherit" | a color spec ]
1226
+ Control the legend's background color.
1227
+ Default is *None* which will take the value from the
1228
+ ``legend.facecolor`` :data:`rcParam<matplotlib.rcParams>`.
1229
+ If ``"inherit"``, it will take the ``axes.facecolor``
1230
+ :data:`rcParam<matplotlib.rcParams>`.
1231
+
1232
+ *edgecolor*: [ *None* | "inherit" | a color spec ]
1233
+ Control the legend's background patch edge color.
1234
+ Default is *None* which will take the value from the
1235
+ ``legend.edgecolor`` :data:`rcParam<matplotlib.rcParams>`.
1236
+ If ``"inherit"``, it will take the ``axes.edgecolor``
1237
+ :data:`rcParam<matplotlib.rcParams>`.
1238
+
1215
1239
*ncol* : integer
1216
1240
number of columns. default is 1
1217
1241
0 commit comments