Skip to content

Commit 8d1ceb0

Browse files
authored
Merge pull request #11926 from anntzer/ginput-demo
Minor fix to ginput_demo.
2 parents 7b5ff33 + c3fd72d commit 8d1ceb0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
"""
22
===========
3-
Ginput Demo
3+
ginput demo
44
===========
55
6-
This provides examples of uses of interactive functions, such as ginput,
7-
86
"""
97

10-
118
import matplotlib.pyplot as plt
129
import numpy as np
10+
1311
t = np.arange(10)
1412
plt.plot(t, np.sin(t))
15-
print("Please click")
13+
print("Please click at three points.")
1614
x = plt.ginput(3)
1715
print("clicked", x)
1816
plt.show()

0 commit comments

Comments
 (0)