-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse Grid.__init__ in ImageGrid.__init__.
`ImageGrid.__init__` differs from `Grid.__init__` by some defaults which can be passed to the superclass, and by additionally constructing the colorbar axes. This needs to be pushed into `_update_locators` which isn't optimal but still better than duplicating the entire `Grid.__init__`; the method was thus renamed to `_init_locators` (it's only called during init).
- Loading branch information
Showing
1 changed file
with
26 additions
and
68 deletions.
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