File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ it("plot(…).scale(name) handles the zero option correctly for descending domai
254
254
type : "linear" ,
255
255
domain : [ 4000 , 0 ] ,
256
256
range : [ 20 , 620 ] ,
257
- interpolate : d3 . interpolate ,
257
+ interpolate : d3 . interpolateNumber ,
258
258
clamp : false ,
259
259
label : "← body_mass_g"
260
260
} ) ;
@@ -267,7 +267,7 @@ it("plot(…).scale(name) handles the zero option correctly for polylinear domai
267
267
type : "linear" ,
268
268
domain : [ 0 , 2000 , 4000 ] ,
269
269
range : [ 20 , 320 , 620 ] ,
270
- interpolate : d3 . interpolate ,
270
+ interpolate : d3 . interpolateNumber ,
271
271
clamp : false ,
272
272
label : "body_mass_g →"
273
273
} ) ;
@@ -280,7 +280,7 @@ it("plot(…).scale(name) handles the zero option correctly for descending polyl
280
280
type : "linear" ,
281
281
domain : [ 4000 , 2000 , 0 ] ,
282
282
range : [ 20 , 320 , 620 ] ,
283
- interpolate : d3 . interpolate ,
283
+ interpolate : d3 . interpolateNumber ,
284
284
clamp : false ,
285
285
label : "← body_mass_g"
286
286
} ) ;
You can’t perform that action at this time.
0 commit comments