| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,6 @@ | |||
| 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 | |
|---|---|---|---|
@@ -938,7 +938,6 @@ def get_dpi(self): | |||
| 938 | 938 | """Return the resolution in dots per inch as a float.""" | |
| 939 | 939 | return self.dpi | |
| 940 | 940 | ||
| 941 | - @cbook.deprecated("3.1", alternative="figure.patch.get_visible") | ||
| 942 | 941 | def get_frameon(self): | |
| 943 | 942 | """Return whether the figure frame will be drawn.""" | |
| 944 | 943 | return self.patch.get_visible() | |
@@ -996,7 +995,6 @@ def set_figheight(self, val, forward=True): | |||
| 996 | 995 | """ | |
| 997 | 996 | self.set_size_inches(self.get_figwidth(), val, forward=forward) | |
| 998 | 997 | ||
| 999 | - @cbook.deprecated("3.1", alternative="figure.patch.set_visible") | ||
| 1000 | 998 | def set_frameon(self, b): | |
| 1001 | 999 | """ | |
| 1002 | 1000 | Set whether the figure frame (background) is displayed or invisible. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments