File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
doc/api/next_api_changes/deprecations Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ``mplot3d.axis3d.Axis.set_pane_pos ``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ ... is deprecated. This is an internal function where the results are
5
+ overwritten during drawing. Hence, it does not serve any purpose for a user.
Original file line number Diff line number Diff line change @@ -182,7 +182,11 @@ def get_minor_ticks(self, numticks=None):
182
182
obj .set_transform (self .axes .transData )
183
183
return ticks
184
184
185
+ @_api .deprecated ("3.6" )
185
186
def set_pane_pos (self , xys ):
187
+ self ._set_pane_pos (xys )
188
+
189
+ def _set_pane_pos (self , xys ):
186
190
xys = np .asarray (xys )
187
191
xys = xys [:, :2 ]
188
192
self .pane .xy = xys
@@ -290,7 +294,7 @@ def draw_pane(self, renderer):
290
294
else :
291
295
plane = self ._PLANES [2 * index + 1 ]
292
296
xys = [tc [p ] for p in plane ]
293
- self .set_pane_pos (xys )
297
+ self ._set_pane_pos (xys )
294
298
self .pane .draw (renderer )
295
299
296
300
renderer .close_group ('pane3d' )
You can’t perform that action at this time.
0 commit comments