Skip to content

Commit

Permalink
fix: flip back in place the output Y axis
Browse files Browse the repository at this point in the history
  • Loading branch information
Bamdad Sabbagh committed Nov 16, 2021
1 parent 2fbd350 commit 944de87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playground/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ function drawDatasetThumbnails () {
let data = dataGenerator (200, 0);
data.forEach (function (d) {
context.fillStyle = colorScale (d.label);
context.fillRect (w * (d.x + 6) / 12, h * (d.y + 6) / 12, 4, 4);
context.fillRect (w * (d.x + 6) / 12, h * (-d.y + 6) / 12, 4, 4);
});
d3.select (canvas.parentNode).style ('display', null);
}
Expand Down

0 comments on commit 944de87

Please sign in to comment.