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

Skip to content

Commit e7719da

Browse files
tacaswelltimhoffm
authored andcommitted
FIX: print out the correct ip address when starting webagg (#13065)
closes #13055
1 parent 5640afd commit e7719da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/backend_webagg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ def trigger_manager_draw(manager):
321321
def show():
322322
WebAggApplication.initialize()
323323

324-
url = "http://127.0.0.1:{port}{prefix}".format(
324+
url = "http://{address}:{port}{prefix}".format(
325+
address=WebAggApplication.address,
325326
port=WebAggApplication.port,
326327
prefix=WebAggApplication.url_prefix)
327328

0 commit comments

Comments
 (0)