Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a170539 + 8187382 commit 68832ffCopy full SHA for 68832ff
1 file changed
doc/conf.py
@@ -682,7 +682,10 @@ def linkcode_resolve(domain, info):
682
if lineno else "")
683
684
startdir = Path(matplotlib.__file__).parent.parent
685
- fn = os.path.relpath(fn, start=startdir).replace(os.path.sep, '/')
+ try:
686
+ fn = os.path.relpath(fn, start=startdir).replace(os.path.sep, '/')
687
+ except ValueError:
688
+ return None
689
690
if not fn.startswith(('matplotlib/', 'mpl_toolkits/')):
691
return None
0 commit comments