-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24531 from daniilS/tk_savefig_formats
Use user-selected format in Tk savefig, rather than inferring it from the filename
- Loading branch information
Showing
4 changed files
with
47 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Tk backend respects file format selection when saving figures | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
When saving a figure from a Tkinter GUI to a filename without an | ||
extension, the file format is now selected based on the value of | ||
the dropdown menu, rather than defaulting to PNG. When the filename | ||
contains an extension, or the OS automatically appends one, the | ||
behavior remains unchanged. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Increase to minimum supported optional dependencies | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
For Matplotlib 3.8, the :ref:`minimum supported versions of optional dependencies | ||
<optional_dependencies>` are being bumped: | ||
|
||
+------------+-----------------+---------------+ | ||
| Dependency | min in mpl3.7 | min in mpl3.8 | | ||
+============+=================+===============+ | ||
| Tk | 8.4 | 8.5 | | ||
+------------+-----------------+---------------+ | ||
|
||
This is consistent with our :ref:`min_deps_policy` |
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