File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ proto.toImage = function(format) {
167
167
this . stopped = true ;
168
168
if ( this . staticPlot ) this . container . appendChild ( STATIC_CANVAS ) ;
169
169
170
- //update canvas size
170
+ // update canvas size
171
171
this . updateSize ( this . canvas ) ;
172
172
173
173
// force redraw
@@ -223,7 +223,7 @@ proto.toImage = function(format) {
223
223
} ;
224
224
225
225
proto . updateSize = function ( canvas ) {
226
- if ( ! canvas ) canvas = this . canvas ;
226
+ if ( ! canvas ) canvas = this . canvas ;
227
227
228
228
var pixelRatio = this . pixelRatio ,
229
229
fullLayout = this . fullLayout ;
@@ -240,7 +240,7 @@ proto.updateSize = function(canvas) {
240
240
}
241
241
242
242
return canvas ;
243
- }
243
+ } ;
244
244
245
245
proto . computeTickMarks = function ( ) {
246
246
this . xaxis . _length =
@@ -358,8 +358,7 @@ proto.destroy = function() {
358
358
} ;
359
359
360
360
proto . plot = function ( fullData , calcData , fullLayout ) {
361
- var glplot = this . glplot ,
362
- pixelRatio = this . pixelRatio ;
361
+ var glplot = this . glplot ;
363
362
364
363
this . fullLayout = fullLayout ;
365
364
this . updateAxes ( fullLayout ) ;
You can’t perform that action at this time.
0 commit comments