fixed SyntaxWarning 'is' vs '=='

This commit is contained in:
2025-11-06 17:06:44 +01:00
parent f44e23946e
commit d5cdf52b84

View File

@@ -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: