Skip to content

Commit

Permalink
Closer... the output tiles are not correctly arranged in the output
Browse files Browse the repository at this point in the history
  • Loading branch information
pkerpedjiev committed Jul 3, 2018
1 parent b0dbd85 commit 235b1cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/HeatmapTiledPixiTrack.js
Expand Up @@ -319,7 +319,7 @@ class HeatmapTiledPixiTrack extends TiledPixiTrack {
output = {
bounds: [this._xScale.domain(), this._yScale.domain()],
dimensions: data.shape,
data: data.flatten(),
data: data.flatten().tolist(),
}

console.log('length:', output.data.shape)
Expand Down
3 changes: 3 additions & 0 deletions scripts/plot_grid.py
@@ -1,11 +1,14 @@
#!/usr/bin/python

import json
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import sys
import argparse

plt.switch_backend('Qt5Agg')

def main():
parser = argparse.ArgumentParser(description="""
Expand Down

0 comments on commit 235b1cc

Please sign in to comment.