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

Skip to content

Commit febea19

Browse files
committed
Fix ConnectionPatch to correctly account coordsB argument. Closes matplotlib#2377.
1 parent 799cbe6 commit febea19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4272,7 +4272,7 @@ def get_path_in_displaycoord(self):
42724272
posA = self._get_xy(x, y, self.coords1, self.axesA)
42734273

42744274
x, y = self.xy2
4275-
posB = self._get_xy(x, y, self.coords1, self.axesB)
4275+
posB = self._get_xy(x, y, self.coords2, self.axesB)
42764276

42774277
_path = self.get_connectionstyle()(posA, posB,
42784278
patchA=self.patchA,

0 commit comments

Comments
 (0)