From 78460120cbbf8d590cb65c72f8d0f9586e5127c2 Mon Sep 17 00:00:00 2001 From: marco cammarata Date: Fri, 13 May 2016 00:14:24 +0200 Subject: [PATCH] fixed typo in last commit --- mcutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcutils.py b/mcutils.py index 8fdbcdf..432cd92 100644 --- a/mcutils.py +++ b/mcutils.py @@ -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)