8000 Backport PR #25151: Increase timeout to GitHub API · matplotlib/matplotlib@4edbfd8 · GitHub
[go: up one dir, main page]

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 4edbfd8

Browse files
dstansbymeeseeksmachine
authored andcommitted
Backport PR #25151: Increase timeout to GitHub API
1 parent 1cd2063 commit 4edbfd8

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-
da 4F16 ta = 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