Skip to content

Commit

Permalink
fixed bug when theres only 1 axes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Feb 4, 2020
1 parent a1aa2e2 commit 64136a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyhdx/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ 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)
axes = [axes] if num_axes == 1 else axes
for j, ax in enumerate(axes):
i = -1

Expand Down

0 comments on commit 64136a2

Please sign in to comment.