Skip to content

Commit

Permalink
Fix draw bug found thanks to increased coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed May 18, 2017
1 parent b9b1374 commit 0de6974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skan/draw.py
Expand Up @@ -155,8 +155,8 @@ def pipeline_plot(image, thresholded, skeleton, stats, *,
fig = figure
if axes is None:
ax0 = fig.add_subplot(2, 2, 1)
axes = [fig.add_subplot(2, 2, i, sharex=ax0, sharey=ax0)
for i in range(2, 5)]
axes = [ax0] + [fig.add_subplot(2, 2, i, sharex=ax0, sharey=ax0)
for i in range(2, 5)]

axes = np.ravel(axes)
axes[0].imshow(image, cmap='gray')
Expand Down

0 comments on commit 0de6974

Please sign in to comment.