Skip to content

Commit febea19

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/patches.py

+1-1
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)