Thanks to visit codestin.com Credit goes to github.com
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 c31ffe8 commit 8ca8a2cCopy full SHA for 8ca8a2c
lib/matplotlib/backends/backend_webagg.py
@@ -21,6 +21,7 @@
21
import json
22
import os
23
import random
24
+import sys
25
import socket
26
import threading
27
@@ -333,11 +334,13 @@ def start(cls):
333
334
launched. We may end up with two concurrently running loops in that
335
unlucky case with all the expected consequences.
336
"""
- print("Press Ctrl+C to stop server")
337
+ print("Press Ctrl+C to stop WebAgg server")
338
+ sys.stdout.flush()
339
try:
340
tornado.ioloop.IOLoop.instance().start()
341
except KeyboardInterrupt:
- print("Server stopped")
342
+ print("Server is stopped")
343
344
finally:
345
cls.started = False
346
0 commit comments