Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54a791c

Browse files
committed
Add backend-specific what's new entries for 3.5
1 parent a34d252 commit 54a791c

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

doc/users/prev_whats_new/whats_new_3.5.0.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,62 @@ configuration options that may be specified in your ``conf.py``:
500500
Backend-specific improvements
501501
=============================
502502

503+
GTK backend
504+
-----------
505+
506+
A backend supporting GTK4_ has been added. Both Agg and Cairo renderers are
507+
supported. The GTK4 backends may be selected as GTK4Agg or GTK4Cairo.
508+
509+
.. _GTK4: https://www.gtk.org/
510+
511+
Qt backends
512+
-----------
513+
514+
Support for Qt6 (using either PyQt6_ or PySide6_) has been added, with either
515+
the Agg or Cairo renderers. Simultaneously, support for Qt4 has been dropped.
516+
Both Qt6 and Qt5 are supported by a combined backend (QtAgg or QtCairo), and
517+
the loaded version is determined by modules already imported, the
518+
:envvar:`QT_API` environment variable, and available packages. See
519+
:ref:`QT_API-usage` for details. The versioned Qt5 backend names (Qt5Agg or
520+
Qt5Cairo) remain supported for backwards compatibility.
521+
522+
.. _PyQt6: https://www.riverbankcomputing.com/static/Docs/PyQt6/
523+
.. _PySide6: https://doc.qt.io/qtforpython/
524+
525+
HiDPI support in Cairo-based, GTK, and Tk backends
526+
--------------------------------------------------
527+
528+
The GTK3 backends now support HiDPI fully, including mixed monitor cases (on
529+
Wayland only). The newly added GTK4 backends also support HiDPI.
530+
531+
The TkAgg backend now supports HiDPI **on Windows only**, including mixed
532+
monitor cases.
533+
534+
All Cairo-based backends correctly support HiDPI as well as their Agg
535+
counterparts did (i.e., if the toolkit supports HiDPI, then the \*Cairo backend
536+
will now support it, but not otherwise.)
537+
538+
Qt figure options editor improvements
539+
-------------------------------------
540+
541+
The figure options editor in the Qt backend now also supports editing the left
542+
and right titles (plus the existing centre title). Editing Axis limits is
543+
better supported when using a date converter. The ``symlog`` option is now
544+
available in Axis scaling options. All entries with the same label are now
545+
shown in the Curves tab.
546+
547+
WX backends support mouse navigation buttons
548+
--------------------------------------------
549+
550+
The WX backends now support navigating through view states using the mouse
551+
forward/backward buttons, as in other backends.
552+
553+
WebAgg uses asyncio instead of Tornado
554+
--------------------------------------
555+
556+
The WebAgg backend defaults to using `asyncio` over Tornado for timer support.
557+
This allows using the WebAgg backend in JupyterLite.
558+
503559
Version information
504560
===================
505561

0 commit comments

Comments
 (0)