8000 Update lib/matplotlib/backends/backend_webagg.py · matplotlib/matplotlib@672f5ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 672f5ca

Browse files
manan2501QuLogic
andauthored
Update lib/matplotlib/backends/backend_webagg.py
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 63a9b5b commit 672f5ca

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
@@ -317,7 +317,7 @@ def show():
317317

318318
if rcParams['webagg.open_in_browser']:
319319
import webbrowser
320-
if (webbrowser.open(url)==False):
320+
if not webbrowser.open(url):
321321
print("To view figure, visit {0}".format(url))
322322
else:
323323
print("To view figure, visit {0}".format(url))

0 commit comments

Comments
 (0)
0