8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef7830 commit 31b3f8eCopy full SHA for 31b3f8e
lib/matplotlib/backends/web_backend/mpl.js
@@ -458,14 +458,14 @@ mpl.figure.prototype.mouse_event = function(event, name) {
458
return false;
459
}
460
461
-mpl.figure.prototype._key_event_extra = function(event, name) {
462
-
+mpl.figure.prototype._key_event_extra = function(event, name) {
+ // Handle any extra behaviour associated with a key event
463
464
465
mpl.figure.prototype.key_event = function(event, name) {
466
467
// Prevent repeat events
468
- if (name == 'key_press')
+ if (name == 'key_press')
469
{
470
if (event.which === this._key)
471
return;
0 commit comments