-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* FIX: skip Axes not in subplot layouts As of mpl 3.7 all Axes now report as being instances of Subplots, however ax.get_subplotspec() may now return None if the Axes is not actually in gridspec. * MNT: avoid unneeded indirection The MPLPlot instance already holds a reference to the Figure, use that instead of walking up from the first Axes. * TST: add test of trying to layout a colorbar
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters