@@ -1245,8 +1245,8 @@ class DrawEvent(Event):
1245
1245
Calling ``canvas.draw`` and ``canvas.blit`` in these callbacks may
1246
1246
not be safe with all backends and may cause infinite recursion.
1247
1247
1248
- In addition to the `Event` attributes, the following event
1249
- attributes are defined:
1248
+ A DrawEvent has a number of special attributes in addition to those defined
1249
+ by the parent `Event` class.
1250
1250
1251
1251
Attributes
1252
1252
----------
@@ -1262,8 +1262,8 @@ class ResizeEvent(Event):
1262
1262
"""
1263
1263
An event triggered by a canvas resize.
1264
1264
1265
- In addition to the `Event` attributes, the following event
1266
- attributes are defined:
1265
+ A ResizeEvent has a number of special attributes in addition to those
1266
+ defined by the parent `Event` class.
1267
1267
1268
1268
Attributes
1269
1269
----------
@@ -1285,13 +1285,13 @@ class LocationEvent(Event):
1285
1285
"""
1286
1286
An event that has a screen location.
1287
1287
1288
- In addition to the `Event` attributes, the following event attributes are
1289
- defined:
1288
+ A LocationEvent has a number of special attributes in addition to those
1289
+ defined by the parent `Event` class.
1290
1290
1291
1291
Attributes
1292
1292
----------
1293
1293
x, y : int or None
1294
- Position in figure coordinates ( pixels from bottom left of canvas) .
1294
+ Event location in pixels from bottom left of canvas.
1295
1295
inaxes : `~.axes.Axes` or None
1296
1296
The `~.axes.Axes` instance over which the mouse is, if any.
1297
1297
xdata, ydata : float or None
@@ -1373,8 +1373,8 @@ class MouseEvent(LocationEvent):
1373
1373
A mouse event ('button_press_event', 'button_release_event', \
1374
1374
'scroll_event', 'motion_notify_event').
1375
1375
1376
- In addition to the `Event` and `LocationEvent` attributes, the below event
1377
- attributes are defined .
1376
+ A MouseEvent has a number of special attributes in addition to those
1377
+ defined by the parent `Event` and `LocationEvent` classes .
1378
1378
1379
1379
Attributes
1380
1380
----------
@@ -1442,8 +1442,8 @@ class PickEvent(Event):
1442
1442
sufficiently close to an artist that has been made pickable with
1443
1443
`.Artist.set_picker`.
1444
1444
1445
- In addition to the `Event` attributes, the below event attributes are
1446
- defined .
1445
+ A PickEvent has a number of special attributes in addition to those defined
1446
+ by the parent `Event` class .
1447
1447
1448
1448
Attributes
1449
1449
----------
@@ -1484,13 +1484,13 @@ class KeyEvent(LocationEvent):
1484
1484
"""
1485
1485
A key event (key press, key release).
1486
1486
1487
- In addition to the `Event` and `LocationEvent` attributes, the below event
1488
- attributes are defined .
1487
+ A KeyEvent has a number of special attributes in addition to those defined
1488
+ by the parent `Event` and `LocationEvent` classes .
1489
1489
1490
1490
Attributes
1491
1491
----------
1492
1492
key : None or str
1493
- The key(s) pressed. Could be *None*, a single case sensitive ASCII
1493
+ The key(s) pressed. Could be *None*, a single case sensitive Unicode
1494
1494
character ("g", "G", "#", etc.), a special key ("control", "shift",
1495
1495
"f1", "up", etc.) or a combination of the above (e.g., "ctrl+alt+g",
1496
1496
"ctrl+alt+G").
0 commit comments