We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5aa349 commit 91e851eCopy full SHA for 91e851e
lib/matplotlib/lines.py
@@ -1430,7 +1430,7 @@ def get_transform(self):
1430
if np.allclose(y1, y2):
1431
raise ValueError(
1432
f"Cannot draw a line through two identical points "
1433
- f"(x={self.get_xdata()}, y={self.get_ydata()})")
+ f"(x={(x1, x2)}, y={(y1, y2)})")
1434
slope = np.inf
1435
else:
1436
slope = dy / dx
0 commit comments