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

Skip to content

Commit 3af4be1

Browse files
committed
FIX: make the show API on webagg consistent with others
1 parent b8408dc commit 3af4be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_webagg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ class _BackendWebAgg(_Backend):
302302
FigureManager = core.FigureManagerWebAgg
303303

304304
@staticmethod
305-
def show():
305+
def show(*, block=None):
306306
WebAggApplication.initialize()
307307

308308
url = "http://{address}:{port}{prefix}".format(

0 commit comments

Comments
 (0)