Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e56ac4c

Browse filesBrowse 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
Copy full SHA for e56ac4c

File tree

3 files changed

+4
-3
lines changed
Filter options

3 files changed

+4
-3
lines changed

‎galleries/users_explain/figure/event_handling.rst

Copy file name to clipboardExpand all lines: galleries/users_explain/figure/event_handling.rst
+2-1Lines changed: 2 additions & 1 deletion
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

Copy file name to clipboardExpand all lines: galleries/users_explain/figure/interactive.rst
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: galleries/users_explain/figure/interactive_guide.rst
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.