File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Original file line number Diff line number Diff line change 1
- Deprecations
2
- ````````````
1
+ Figure.frameon is now a direct proxy for the Figure patch visibility state
2
+ ``````````````````````````````````````````````````````````````````````````
3
3
4
- The following API elements are deprecated:
5
-
6
- - ``Figure.frameon ``, ``Figure.get_frameon ``, ``Figure.set_frameon `` (directly
7
- manipulate the visibility of ``Figure.patch `` instead),
4
+ Accessing ``Figure.frameon `` (including via ``get_frameon `` and ``set_frameon ``
5
+ now directly forwards to the visibility of the underlying Rectangle artist
6
+ (``Figure.patch.get_frameon ``, ``Figure.patch.set_frameon ``).
Original file line number Diff line number Diff line change @@ -935,7 +935,6 @@ def get_dpi(self):
935
935
"""Return the resolution in dots per inch as a float."""
936
936
return self .dpi
937
937
938
- @cbook .deprecated ("3.1" , alternative = "figure.patch.get_visible" )
939
938
def get_frameon (self ):
940
939
"""Return whether the figure frame will be drawn."""
941
940
return self .patch .get_visible ()
@@ -993,7 +992,6 @@ def set_figheight(self, val, forward=True):
993
992
"""
994
993
self .set_size_inches (self .get_figwidth (), val , forward = forward )
995
994
996
- @cbook .deprecated ("3.1" , alternative = "figure.patch.set_visible" )
997
995
def set_frameon (self , b ):
998
996
"""
999
997
Set whether the figure frame (background) is displayed or invisible.
You can’t perform that action at this time.
0 commit comments