Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7fba039

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
-4Lines changed: 0 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.