From 78f35872133bcc9cd5fa91a103db971f715e030b Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 29 Dec 2018 15:42:30 -0500 Subject: [PATCH] FIX: print out the correct ip address when starting webagg closes #13055 --- lib/matplotlib/backends/backend_webagg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/backends/backend_webagg.py b/lib/matplotlib/backends/backend_webagg.py index cfb63c501a93..087eb7b70243 100644 --- a/lib/matplotlib/backends/backend_webagg.py +++ b/lib/matplotlib/backends/backend_webagg.py @@ -321,7 +321,8 @@ def trigger_manager_draw(manager): def show(): WebAggApplication.initialize() - url = "http://127.0.0.1:{port}{prefix}".format( + url = "http://{address}:{port}{prefix}".format( + address=WebAggApplication.address, port=WebAggApplication.port, prefix=WebAggApplication.url_prefix)