Skip to content

Commit 944de87

Browse files
committed
fix: flip back in place the output Y axis
tensorflow/playground#163
1 parent 2fbd350 commit 944de87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/playground/playground.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ function drawDatasetThumbnails () {
10361036
let data = dataGenerator (200, 0);
10371037
data.forEach (function (d) {
10381038
context.fillStyle = colorScale (d.label);
1039-
context.fillRect (w * (d.x + 6) / 12, h * (d.y + 6) / 12, 4, 4);
1039+
context.fillRect (w * (d.x + 6) / 12, h * (-d.y + 6) / 12, 4, 4);
10401040
});
10411041
d3.select (canvas.parentNode).style ('display', null);
10421042
}

0 commit comments

Comments
 (0)