Skip to content

Commit 7fba039

Browse files
authored
Merge pull request #23099 from anntzer/webshow
MNT: Remove unneeded cutout for webagg in show().
2 parents 35ec03c + af63f1c commit 7fba039

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/matplotlib/backend_bases.py

-4
Original file line numberDiff line numberDiff line change
@@ -3504,10 +3504,6 @@ def show(cls, *, block=None):
35043504
from matplotlib import pyplot
35053505
ipython_pylab = hasattr(pyplot.show, "_needmain")
35063506
block = not ipython_pylab and not is_interactive()
3507-
# TODO: The above is a hack to get the WebAgg backend working with
3508-
# ipython's `%pylab` mode until proper integration is implemented.
3509-
if get_backend() == "WebAgg":
3510-
block = True
35113507
if block:
35123508
cls.mainloop()
35133509

0 commit comments

Comments
 (0)