fixed SyntaxWarning 'is' vs '=='
This commit is contained in:
@@ -33,10 +33,10 @@ def facet_plot(dframe, facets, props, ydata, layout=None, newfig=True, figsize=N
|
||||
cycl = cycle(plt.rcParams['axes.prop_cycle'])
|
||||
prop_styles = {ps: next(cycl) for ps, _ in dframe.groupby(props)}
|
||||
|
||||
if zorder is 'default':
|
||||
if zorder == 'default':
|
||||
dz = 1
|
||||
zorder = 0
|
||||
elif zorder is 'reverse':
|
||||
elif zorder == 'reverse':
|
||||
dz = -1
|
||||
zorder = 0
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user