File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
lib/matplotlib/backends/web_backend Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,12 @@ window.onload = function() {
6060
6161 /* Free the memory for the previous frames */
6262 if ( imageObj . src ) {
63- ( window . URL || window . webkitURL ) . revokeObjectURL ( imageObj . src ) ;
63+ ( window . URL || window . webkitURL ) . revokeObjectURL (
64+ imageObj . src ) ;
6465 }
6566
66- imageObj . src = ( window . URL || window . webkitURL ) . createObjectURL ( evt . data ) ;
67+ imageObj . src = ( window . URL || window . webkitURL ) . createObjectURL (
68+ evt . data ) ;
6769 return ;
6870 }
6971 } else {
@@ -129,7 +131,8 @@ window.onload = function() {
129131 var width = Math . abs ( x1 - x0 ) ;
130132 var height = Math . abs ( y1 - y0 ) ;
131133
132- rubberband_context . clearRect ( 0 , 0 , rubberband_canvas . width , rubberband_canvas . height ) ;
134+ rubberband_context . clearRect (
135+ 0 , 0 , rubberband_canvas . width , rubberband_canvas . height ) ;
133136 rubberband_context . strokeRect ( min_x , min_y , width , height ) ;
134137 break ;
135138 }
You can’t perform that action at this time.
0 commit comments