@@ -253,7 +253,7 @@ class Figure(Artist):
253
253
Attributes
254
254
----------
255
255
patch
256
- The `.Rectangle` instance representing the figure patch.
256
+ The `.Rectangle` instance representing the figure background patch.
257
257
258
258
suppressComposite
259
259
For multiple figure images, the figure will make composite images
@@ -303,7 +303,7 @@ def __init__(self,
303
303
patch).
304
304
305
305
frameon : bool, default: :rc:`figure.frameon`
306
- If ``False``, suppress drawing the figure frame .
306
+ If ``False``, suppress drawing the figure background patch .
307
307
308
308
subplotpars : :class:`SubplotParams`
309
309
Subplot parameters. If not given, the default subplot
@@ -936,7 +936,11 @@ def get_dpi(self):
936
936
return self .dpi
937
937
938
938
def get_frameon (self ):
939
- """Return whether the figure frame will be drawn."""
939
+ """
940
+ Return the figure's background patch visibility, i.e.
941
+ whether the figure background will be drawn. Equivalent to
942
+ ``Figure.patch.get_visible()``.
943
+ """
940
944
return self .patch .get_visible ()
941
945
942
946
def set_edgecolor (self , color ):
@@ -994,7 +998,9 @@ def set_figheight(self, val, forward=True):
994
998
995
999
def set_frameon (self , b ):
996
1000
"""
997
- Set whether the figure frame (background) is displayed or invisible.
1001
+ Set the figure's background patch visibility, i.e.
1002
+ whether the figure background will be drawn. Equivalent to
1003
+ ``Figure.patch.set_visible()``.
998
1004
999
1005
Parameters
1000
1006
----------
0 commit comments