Skip to content

Commit e56ac4c

Browse files
committed
Tweak interactivity docs wording (and fix capitalization).
Interactivity is useful even when not working with "data" (e.g. when plotting mathematical equations).
1 parent 5a9182d commit e56ac4c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

galleries/users_explain/figure/event_handling.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ is created every time a mouse is pressed::
251251

252252
def __call__(self, event):
253253
print('click', event)
254-
if event.inaxes!=self.line.axes: return
254+
if event.inaxes != self.line.axes:
255+
return
255256
self.xs.append(event.xdata)
256257
self.ys.append(event.ydata)
257258
self.line.set_data(self.xs, self.ys)

galleries/users_explain/figure/interactive.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Interactive figures
1111
===================
1212

13-
When working with data, interactivity can be invaluable. The pan/zoom and
13+
Interactivity can be invaluable when exploring plots. The pan/zoom and
1414
mouse-location tools built into the Matplotlib GUI windows are often sufficient, but
1515
you can also use the event system to build customized data exploration tools.
1616

galleries/users_explain/figure/interactive_guide.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ which would poll for new data and update the figure at 1Hz.
236236

237237
.. _spin_event_loop:
238238

239-
Explicitly spinning the event Loop
239+
Explicitly spinning the event loop
240240
----------------------------------
241241

242242
.. autosummary::

0 commit comments

Comments
 (0)