Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 252e42e

Browse files
rebase fixes
1 parent 8537439 commit 252e42e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ def _calc_coord(self, xv, yv, renderer=None):
14761476
# Get the pane locations for each of the axes
14771477
pane_locs = []
14781478
for axis in self._axis_map.values():
1479-
xys, loc = axis.active_pane(renderer)
1479+
xys, loc = axis.active_pane()
14801480
pane_locs.append(loc)
14811481

14821482
# Find the distance to the nearest pane by projecting the view vector

lib/mpl_toolkits/mplot3d/axis3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ def _get_tickdir(self, position):
401401
tickdir = np.roll(info_i, -j)[np.roll(tickdirs_base, j)][i]
402402
return tickdir
403403

404-
def active_pane(self, renderer):
405-
mins, maxs, centers, deltas, tc, highs = self._get_coord_info(renderer)
404+
def active_pane(self):
405+
mins, maxs, tc, highs = self._get_coord_info()
406406
info = self._axinfo
407407
index = info['i']
408408
if not highs[index]:
@@ -423,7 +423,7 @@ def draw_pane(self, renderer):
423423
renderer : `~matplotlib.backend_bases.RendererBase` subclass
424424
"""
425425
renderer.open_group('pane3d', gid=self.get_gid())
426-
xys, loc = self.active_pane(renderer)
426+
xys, loc = self.active_pane()
427427
self.pane.xy = xys[:, :2]
428428
self.pane.draw(renderer)
429429
renderer.close_group('pane3d')

0 commit comments

Comments
 (0)