Skip to content

Commit

Permalink
Merge pull request #188 from brettjrob/patch-1
Browse files Browse the repository at this point in the history
Fix data point skipping on hodo
  • Loading branch information
tsupinie committed Jan 21, 2020
2 parents a301003 + 710ba6c commit 616d3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharppy/viz/hodo.py
Expand Up @@ -1228,7 +1228,7 @@ def draw_hodo(self, qp, prof, colors, width=2):

path = QPainterPath()
path.moveTo(seg_x[idx], seg_y[idx])
for z_idx in xrange(seg_idxs[idx] + 1, seg_idxs[idx + 1]):
for z_idx in xrange(seg_idxs[idx], seg_idxs[idx + 1]):
path.lineTo(xx[z_idx], yy[z_idx])
path.lineTo(seg_x[idx + 1], seg_y[idx + 1])

Expand Down

0 comments on commit 616d3b8

Please sign in to comment.