We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 011a3f7 commit 076e0dfCopy full SHA for 076e0df
lib/mpl_toolkits/mplot3d/axes3d.py
@@ -324,9 +324,6 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
324
"""
325
_api.check_in_list(('auto', 'equal', 'equalxy', 'equalyz', 'equalxz'),
326
aspect=aspect)
327
- if adjustable is None:
328
- adjustable = self._adjustable
329
- _api.check_in_list(('box', 'datalim'), adjustable=adjustable)
330
super().set_aspect(
331
aspect='auto', adjustable=adjustable, anchor=anchor, share=share)
332
self._aspect = aspect
@@ -338,7 +335,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
338
335
self.yaxis.get_view_interval(),
339
336
self.zaxis.get_view_interval()])
340
337
ptp = np.ptp(view_intervals, axis=1)
341
- if adjustable == 'datalim':
+ if self._adjustable == 'datalim':
342
mean = np.mean(view_intervals, axis=1)
343
delta = max(ptp[ax_indices])
344
scale = self._box_aspect[ptp == delta][0]
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments