Skip to content

Commit

Permalink
Backport PR matplotlib#25151: Increase timeout to GitHub API
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby authored and meeseeksmachine committed Feb 4, 2023
1 parent 1cd2063 commit 4edbfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lines_bars_and_markers/timeline.py
Expand Up @@ -23,7 +23,7 @@

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

dates = []
names = []
Expand Down

0 comments on commit 4edbfd8

Please sign in to comment.