8000 change to use ax.scatter · matplotlib/matplotlib@eca521e · GitHub
[go: up one dir, main page]

Skip to content

Commit eca521e

Browse files
committed
change to use ax.scatter
1 parent 28bc4f8 commit eca521e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_arrow_contains_point():
104104
# set the points to red only if the arrow contains the point
105105
inside, res = patch.contains(event)
106106
if inside:
107-
plt.scatter(x, y, s=5, c="r")
107+
ax.scatter(x, y, s=5, c="r")
108108

109109

110110
@image_comparison(baseline_images=['path_clipping'],

0 commit comments

Comments
 (0)
0