Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5b38d6

Browse files
committed
Merge pull request matplotlib#479 from jkseppan/quickfix-sample-data
Fix github url
2 parents c789e68 + dcfdfe3 commit c5b38d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/cbook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def get_sample_data(fname, asfileobj=True):
645645
Check the cachedirectory ~/.matplotlib/sample_data for a sample_data
646646
file. If it does not exist, fetch it with urllib from the mpl git repo
647647
648-
https://github.com/matplotlib/sample_data/raw/master
648+
https://raw.github.com/matplotlib/sample_data/master
649649
650650
and store it in the cachedir.
651651
@@ -676,7 +676,7 @@ def get_sample_data(fname, asfileobj=True):
676676
if myserver is None:
677677
configdir = matplotlib.get_configdir()
678678
cachedir = os.path.join(configdir, 'sample_data')
679-
baseurl = 'https://github.com/matplotlib/sample_data/raw/master/'
679+
baseurl = 'https://raw.github.com/matplotlib/sample_data/master/'
680680
try:
681681
myserver = _get_data_server(cachedir, baseurl)
682682
get_sample_data.myserver = myserver

0 commit comments

Comments
 (0)