Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Indentation

  • Loading branch information...
commit 1789f6c1d79cf16bdec4f4cefb71d8a33e25f21e 1 parent ae884b0
@mdboom mdboom authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 lib/matplotlib/backends/web_backend/mpl.js
View
9 lib/matplotlib/backends/web_backend/mpl.js
@@ -60,10 +60,12 @@ window.onload = function() {
/* Free the memory for the previous frames */
if (imageObj.src) {
- (window.URL || window.webkitURL).revokeObjectURL(imageObj.src);
+ (window.URL || window.webkitURL).revokeObjectURL(
+ imageObj.src);
}
- imageObj.src = (window.URL || window.webkitURL).createObjectURL(evt.data);
+ imageObj.src = (window.URL || window.webkitURL).createObjectURL(
+ evt.data);
return;
}
} else {
@@ -129,7 +131,8 @@ window.onload = function() {
var width = Math.abs(x1 - x0);
var height = Math.abs(y1 - y0);
- rubberband_context.clearRect(0, 0, rubberband_canvas.width, rubberband_canvas.height);
+ rubberband_context.clearRect(
+ 0, 0, rubberband_canvas.width, rubberband_canvas.height);
rubberband_context.strokeRect(min_x, min_y, width, height);
break;
}
Please sign in to comment.
Something went wrong with that request. Please try again.