8000 Update src/traces/image/plot.js · plotly/plotly.js@ed5e871 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed5e871

Browse files
authored
Update src/traces/image/plot.js
1 parent d2918c2 commit ed5e871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/image/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ module.exports = function plot(gd, plotinfo, cdimage, imageLayer) {
192192
if(realImage) {
193193
href = trace.source;
194194
} else {
195-
var context = trace._canvas.el.getContext('2d', {willReadFrequently:true});
195+
var context = trace._canvas.el.getContext('2d', {willReadFrequently: true});
196196
var data = context.getImageData(0, 0, w, h).data;
197197
canvas = drawMagnifiedPixelsOnCanvas(function(i, j) {
198198
var index = 4 * (j * w + i);

0 commit comments

Comments
 (0)
0