Skip to content

Commit b41a040

Browse files
committed
Update UAT
1 parent 0623766 commit b41a040

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/matplotlib/backends/web_backend/mpl.js

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ mpl.figure.prototype._init_header = function() {
9696

9797

9898

99-
10099
mpl.figure.prototype._canvas_extra_style = function(canvas_div) {
101100

102101
}

lib/matplotlib/backends/web_backend/nbagg_uat.ipynb

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:43daeaae8ae9fd496fc33d7a64639194bc009b755d28c23cd6329f225628197c"
4+
"signature": "sha256:7f7ec6a6e2a63837a45a88a501ba3c5b1eb88e744925456a9bfeb0d6faa896a5"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -400,9 +400,9 @@
400400
"cell_type": "markdown",
401401
"metadata": {},
402402
"source": [
403-
"### UAT 16 - key events\n",
403+
"### UAT 16 - Events\n",
404404
"\n",
405-
"Pressing any keyboard key or mouse button should cycle the line line while the figure has focus. The figure should have focus by default when it is created and re-gain it by clicking on the canvas. Clicking anywhere outside of the figure should release focus, but moving the mouse out of the figure should not release focus."
405+
"Pressing any keyboard key or mouse button (or scrolling) should cycle the line line while the figure has focus. The figure should have focus by default when it is created and re-gain it by clicking on the canvas. Clicking anywhere outside of the figure should release focus, but moving the mouse out of the figure should not release focus."
406406
]
407407
},
408408
{
@@ -423,6 +423,7 @@
423423
" fig.canvas.draw_idle()\n",
424424
"fig.canvas.mpl_connect('button_press_event', on_event)\n",
425425
"fig.canvas.mpl_connect('key_press_event', on_event)\n",
426+
"fig.canvas.mpl_connect('scroll_event', on_event)\n",
426427
"plt.show()"
427428
],
428429
"language": "python",

0 commit comments

Comments
 (0)