Skip to content

Commit

Permalink
fix bug when moving to the next line
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Feb 3, 2020
1 parent d5ed240 commit a1aa2e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyhdx/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ def make_coverage_figure(pm, wrap, aa_per_subplot, figsize=(10, 8), **kwargs):
num_axes = pm.stop // aa_per_subplot + 1

fig, axes = plt.subplots(num_axes, figsize=figsize)
i = -1
for j, ax in enumerate(axes):
i = -1

for e in pm.data:
if i < -wrap:
i = -1
Expand Down

0 comments on commit a1aa2e2

Please sign in to comment.