Skip to content

Commit

Permalink
fixed y label visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfarah committed Jan 8, 2019
1 parent a01050e commit 5595b63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ehtim/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2759,8 +2759,9 @@ def display(self, pol=None, cfun='afmhot', interp='gaussian',
elif label_type=='none':
plt.axis('off')
ax = plt.gca()
ax.axes.get_xaxis().set_visible(False)
ax.axes.get_yaxis().set_visible(False)
if axis is None:
ax.axes.get_xaxis().set_visible(False)
ax.axes.get_yaxis().set_visible(False)

# Show or save to file
if axis is not None:
Expand Down

0 comments on commit 5595b63

Please sign in to comment.