@@ -286,7 +286,7 @@ class AdditionRNNDemo {
286286 'data' : { 'values' : lossValues } ,
287287 'mark' : 'line' ,
288288 'encoding' : {
289- 'x' : { 'field' : 'epoch' , 'type' : 'quantitative ' } ,
289+ 'x' : { 'field' : 'epoch' , 'type' : 'ordinal ' } ,
290290 'y' : { 'field' : 'loss' , 'type' : 'quantitative' } ,
291291 'color' : { 'field' : 'set' , 'type' : 'nominal' } ,
292292 }
@@ -302,7 +302,7 @@ class AdditionRNNDemo {
302302 'data' : { 'values' : accuracyValues } ,
303303 'mark' : 'line' ,
304304 'encoding' : {
305- 'x' : { 'field' : 'epoch' , 'type' : 'quantitative ' } ,
305+ 'x' : { 'field' : 'epoch' , 'type' : 'ordinal ' } ,
306306 'y' : { 'field' : 'accuracy' , 'type' : 'quantitative' } ,
307307 'color' : { 'field' : 'set' , 'type' : 'nominal' } ,
308308 }
@@ -315,7 +315,7 @@ class AdditionRNNDemo {
315315 'data' : { 'values' : examplesPerSecValues } ,
316316 'mark' : 'line' ,
317317 'encoding' : {
318- 'x' : { 'field' : 'epoch' , 'type' : 'quantitative ' } ,
318+ 'x' : { 'field' : 'epoch' , 'type' : 'ordinal ' } ,
319319 'y' : { 'field' : 'examples/s' , 'type' : 'quantitative' } ,
320320 }
321321 } ,
0 commit comments