forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: TkAgg default backend depends on tkinter
We now always build the TkAgg backend, because it does not depend on the Tk libraries being on the building system. This had the unwanted effect of making the TkAgg backend be the default even if Python tkinter libraries were not installed. Make a `runtime_check` function for the optional packages, that gives True if the package can be used at run time, and use that to reject TkAgg as default backend when tkinter not available.
- Loading branch information
1 parent
b9c3b64
commit 603f06f
Showing
2 changed files
with
25 additions
and
7 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
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