Skip to content

Commit e890210

Browse files
committed
minor cleanup
1 parent 5b63c49 commit e890210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

probscale/viz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import numpy
1+
import numpy
22
from matplotlib import pyplot
33
from matplotlib import scale
44
from scipy import stats
@@ -36,7 +36,7 @@ def _check_fit_arg(arg, argname):
3636

3737
def _check_ax_name(axname, argname):
3838
valid_args = ['x', 'y']
39-
if axname not in valid_args:
39+
if axname.lower() not in valid_args:
4040
msg = 'Invalid value for {} ({}). Must be on of {}.'
4141
raise ValueError(msg.format(argname, arg, valid_args))
4242

0 commit comments

Comments
 (0)