Skip to content

Commit

Permalink
Fixed Typo (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
OssamaRafique authored Nov 16, 2023
1 parent b8ccac7 commit 08fb3cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "epiviz.heatmap.gl",
"version": "0.0.21",
"version": "0.0.22",
"repository": "https://github.com/jkanche/epiviz.heatmap.gl",
"homepage": "https://github.com/jkanche/epiviz.heatmap.gl",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/BaseGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ class BaseGL {
const maxXRange = this.xAxisRange[1] - this.xAxisRange[0];
const minX = this.xAxisRange[0];

this.columnGroupingData.forEach((group, idx) => {
this.groupingColumnData.forEach((group, idx) => {
const normalizedStart = (group.startIndex / totalData) * maxXRange + minX;
const normalizedEnd =
((group.endIndex + 1) / totalData) * maxXRange + minX;
Expand Down
4 changes: 2 additions & 2 deletions src/DotplotGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ class DotplotGL extends BaseGL {
);

// Setting X and Y Axis Domains
this.xAxisRange = spec_inputs.x;
this.yAxisRange = spec_inputs.y;
this.xAxisRange = [-1, 1];
this.yAxisRange = [-1, 1];

let spec = {
margins: this.margins,
Expand Down

0 comments on commit 08fb3cb

Please sign in to comment.