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 5b8c4c1

Browse filesBrowse files
committed
adding webagg.address parameter to rcParams
1 parent 4c06cc5 commit 5b8c4c1
Copy full SHA for 5b8c4c1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/rcsetup.py

Copy file name to clipboardExpand all lines: lib/matplotlib/rcsetup.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,8 @@ def validate_webagg_address(s):
892892
socket.inet_aton(s)
893893
except socket.error as e:
894894
raise ValueError("'webagg.address' is not a valid IP address")
895-
return s
895+
return s
896+
raise ValueError("'webagg.address' is not a valid IP address")
896897

897898
# A validator dedicated to the named line styles, based on the items in
898899
# ls_mapper, and a list of possible strings read from Line2D.set_linestyle

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.