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

Skip to content

Commit c4a2135

Browse files
leejjoonmdboom
authored andcommitted
Fix ConnectionPatch to correctly account coordsB argument. Closes matplotlib#2377.
1 parent 16a051c commit c4a2135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/patches.py

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

42694269
x, y = self.xy2
4270-
posB = self._get_xy(x, y, self.coords1, self.axesB)
4270+
posB = self._get_xy(x, y, self.coords2, self.axesB)
42714271

42724272
_path = self.get_connectionstyle()(posA, posB,
42734273
patchA=self.patchA,

0 commit comments

Comments
 (0)