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

Skip to content

Commit 4516ebf

Browse files
authored
Allow _BackendNbAgg.show() to take keyword "block"
Fixes #9729 Doesn't actually handle block (if it should).
1 parent bdb8568 commit 4516ebf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/backend_nbagg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def trigger_manager_draw(manager):
258258
manager.show()
259259

260260
@staticmethod
261-
def show():
261+
def show(*args, **kwargs):
262+
## TODO: something to do when keyword block==False ?
262263
from matplotlib._pylab_helpers import Gcf
263264

264265
managers = Gcf.get_all_fig_managers()

0 commit comments

Comments
 (0)