Use selected format in Tk savefig when filename doesn't contain one · matplotlib/matplotlib@b876de8 · GitHub
Skip to content

Commit b876de8

Browse files
daniilSQuLogic
andcommitted
Use selected format in Tk savefig when filename doesn't contain one
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 204ab61 commit b876de8

4 files changed

Lines changed: 47 additions & 17 deletions

File tree

Lines changed: 8 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Increase to minimum supported optional dependencies
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
For Matplotlib 3.8, the :ref:`minimum supported versions of optional dependencies
5+
<optional_dependencies>` are being bumped:
6+
7+
+------------+-----------------+---------------+
8+
| Dependency | min in mpl3.7 | min in mpl3.8 |
9+
+============+=================+===============+
10+
| Tk | 8.4 | 8.5 |
11+
+------------+-----------------+---------------+
12+
13+
This is consistent with our :ref:`min_deps_policy`

doc/devel/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Matplotlib figures can be rendered to various user interfaces. See
4646
:ref:`what-is-a-backend` for more details on the optional Matplotlib backends
4747
and the capabilities they provide.
4848

49-
* Tk_ (>= 8.4, != 8.6.0 or 8.6.1): for the Tk-based backends. Tk is part of
49+
* Tk_ (>= 8.5, != 8.6.0 or 8.6.1): for the Tk-based backends. Tk is part of
5050
most standard Python installations, but it's not part of Python itself and
5151
thus may not be present in rare cases.
5252
* PyQt6_ (>= 6.1), PySide6_, PyQt5_, or PySide2_: for the Qt-based backends.

lib/matplotlib/backends/_backend_tk.py

Lines changed: 25 additions & 16 deletions

0 commit comments

Comments
 (0)