8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ded88 commit 2eae445Copy full SHA for 2eae445
lib/matplotlib/backends/backend_webagg.py
@@ -245,10 +245,10 @@ def random_ports(port, n):
245
246
@classmethod
247
def start(cls):
248
+ import asyncio
249
try:
- import asyncio
250
asyncio.get_running_loop()
251
- except:
+ except RuntimeError:
252
pass
253
else:
254
cls.started = True
@@ -294,10 +294,10 @@ def ipython_inline_display(figure):
294
import tornado.template
295
296
WebAggApplication.initialize()
297
298
299
300
301
if not webagg_server_thread.is_alive():
302
webagg_server_thread.start()
303
0 commit comments