Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b1d8e1 + 514bac9 commit f8687b0Copy full SHA for f8687b0
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