File tree Expand file tree Collapse file tree 3 files changed +10
-16
lines changed
next_api_changes/removals Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change
1
+ ``Axes3D.set_frame_on `` and ``Axes3D.get_frame_on `` removed
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ ``Axes3D.set_frame_on `` is documented as "Set whether the 3D axes panels are
5
+ drawn.". However, it has no effect on 3D axes and is being removed in
6
+ favor of ``Axes3D.set_axis_on `` and ``Axes3D.set_axis_off ``.
Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ Appearance
77
77
set_axis_off
78
78
set_axis_on
79
79
grid
80
- get_frame_on
81
- set_frame_on
82
80
83
81
84
82
Axis
Original file line number Diff line number Diff line change @@ -1319,20 +1319,10 @@ def get_zlabel(self):
1319
1319
1320
1320
# Axes rectangle characteristics
1321
1321
1322
- def get_frame_on (self ):
1323
- """Get whether the 3D axes panels are drawn."""
1324
- return self ._frameon
1325
-
1326
- def set_frame_on (self , b ):
1327
- """
1328
- Set whether the 3D axes panels are drawn.
1329
-
1330
- Parameters
1331
- ----------
1332
- b : bool
1333
- """
1334
- self ._frameon = bool (b )
1335
- self .stale = True
1322
+ # The frame_on methods are not available for 3D axes.
1323
+ # Python will raise a TypeError if they are called.
1324
+ get_frame_on = None
1325
+ set_frame_on = None
1336
1326
1337
1327
def grid (self , visible = True , ** kwargs ):
1338
1328
"""
You can’t perform that action at this time.
0 commit comments