Skip to content

Commit

Permalink
Change indexing for axis title
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTeutonic committed Jun 3, 2017
1 parent 5908958 commit 4d7325a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gala/viz.py
Expand Up @@ -102,10 +102,10 @@ def show_multiple_images(*images, raw=False, image_type='rand'):
imshow_rand(images[i-1])
except ValueError:
plt.imshow(images[i-1], axis=ax)
ax.set_title(f'Image number {i} with a {image_type} colormap')
ax.set_title(f'Image number {i+1} with a {image_type} colormap')
if raw:
ax.imshow(images[i-1])
ax.set_title(f'Image number {i}')
ax.set_title(f'Image number {i+1}')
return figure


Expand Down

0 comments on commit 4d7325a

Please sign in to comment.