8000 Increase timeout to GitHub API · matplotlib/matplotlib@d217552 · GitHub
[go: up one dir, main page]

Skip to content

Commit d217552

Browse files
committed
Increase timeout to GitHub API
1 parent 1125888 commit d217552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lines_bars_and_markers/timeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
url = 'https://api.github.com/repos/matplotlib/matplotlib/releases'
2525
url += '?per_page=100'
26-
data = json.loads(urllib.request.urlopen(url, timeout=.4).read().decode())
26+
data = json.loads(urllib.request.urlopen(url, timeout=1).read().decode())
2727

2828
dates = []
2929
names = []

0 commit comments

Comments
 (0)
0