We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 007c4c1 + d0981ad commit a39c9e6Copy full SHA for a39c9e6
2 files changed
doc/api/next_api_changes/deprecations/24208-AL.rst
@@ -0,0 +1,3 @@
1
+``backend_webagg.ServerThread`` is deprecated
2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+... with no replacement.
lib/matplotlib/backends/backend_webagg.py
@@ -40,12 +40,14 @@
40
TimerAsyncio, TimerTornado)
41
42
43
+@mpl._api.deprecated("3.7")
44
class ServerThread(threading.Thread):
45
def run(self):
46
tornado.ioloop.IOLoop.instance().start()
47
48
-webagg_server_thread = ServerThread()
49
+webagg_server_thread = threading.Thread(
50
+ target=lambda: tornado.ioloop.IOLoop.instance().start())
51
52
53
class FigureManagerWebAgg(core.FigureManagerWebAgg):
0 commit comments