Make correct_iplot use real_bool
This commit is contained in:
parent
242d8e3b1d
commit
8a4be00ac6
@ -1222,7 +1222,7 @@ def correct_iplot(iplot):
|
||||
try:
|
||||
iplot = int(iplot)
|
||||
except ValueError:
|
||||
if iplot is True or iplot == 'True':
|
||||
if real_Bool(iplot):
|
||||
iplot = 2
|
||||
else:
|
||||
iplot = 0
|
||||
|
Loading…
Reference in New Issue
Block a user