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

Skip to content

Commit 9961ea4

Browse files
committed
fix a bug in SubplotDivider.new_horizontal that gave incrroect result when pack_start=True
svn path=/branches/v0_99_maint/; revision=8179
1 parent 94b7538 commit 9961ea4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/mpl_toolkits/axes_grid/axes_divider.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ def new_horizontal(self, size, pad=None, pack_start=False, **kwargs):
449449
locator = self.new_locator(nx=len(self._horizontal)-1, ny=0)
450450

451451
ax = self._get_new_axes(**kwargs)
452-
locator = self.new_locator(nx=len(self._horizontal)-1, ny=0)
453452
ax.set_axes_locator(locator)
454453

455454
return ax

0 commit comments

Comments
 (0)