8000
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 f7ae157 + a158469 commit b12b3f4Copy full SHA for b12b3f4
lib/matplotlib/figure.py
@@ -2591,7 +2591,7 @@ def execute_constrained_layout(self, renderer=None):
2591
cbook._warn_external("Calling figure.constrained_layout, but "
2592
"figure not setup to do constrained layout. "
2593
" You either called GridSpec without the "
2594
- "fig keyword, you are using plt.subplot, "
+ "figure keyword, you are using plt.subplot, "
2595
"or you need to call figure or subplots "
2596
"with the constrained_layout=True kwarg.")
2597
return
0 commit comments