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

Skip to content

Commit 4347ee6

Browse files
zhoubeckydstansby
authored andcommitted
change to use ax.scatter
1 parent 81e2937 commit 4347ee6

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
@@ -109,7 +109,7 @@ def test_arrow_contains_point():
109109
# set the points to red only if the arrow contains the point
110110
inside, res = patch.contains(event)
111111
if inside:
112-
plt.scatter(x, y, s=5, c="r")
112+
ax.scatter(x, y, s=5, c="r")
113113

114114

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

0 commit comments

Comments
 (0)
0