We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e7daad commit 514bac9Copy full SHA for 514bac9
1 file changed
lib/matplotlib/axes/_base.py
@@ -1142,7 +1142,7 @@ def apply_aspect(self, position=None):
1142
aspect_scale_mode = "log"
1143
elif ((xscale == "linear" and yscale == "log") or
1144
(xscale == "log" and yscale == "linear")):
1145
- if aspect is not "auto":
+ if aspect != "auto":
1146
warnings.warn(
1147
'aspect is not supported for Axes with xscale=%s, '
1148
'yscale=%s' % (xscale, yscale))
0 commit comments