fixed typo in last commit

This commit is contained in:
marco cammarata 2016-05-13 00:14:24 +02:00
parent 1342a9438d
commit 78460120cb
1 changed files with 2 additions and 2 deletions

View File

@ -39,14 +39,14 @@ def colormap( list_of_colors ):
return cmap
def simpleaxis(ax=None):
is ax is None: ax = plt.gca()
if ax is None: ax = plt.gca()
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.get_xaxis().tick_bottom()
ax.get_yaxis().tick_left()
def noaxis(ax=None):
is ax is None: ax = plt.gca()
if ax is None: ax = plt.gca()
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.spines['left'].set_visible(False)