Show More
@@ -419,8 +419,8 b' class EmbeddedSphinxShell(object):' | |||
|
419 | 419 | # insert relative path to image file in source |
|
420 | 420 | # as absolute path for Sphinx |
|
421 | 421 | # sphinx expects a posix path, even on Windows |
|
422 |
|
|
|
423 |
outfile = '/' + |
|
|
422 | path = pathlib.Path(savefig_dir, filename) | |
|
423 | outfile = '/' + path.relative_to(source_dir).as_posix() | |
|
424 | 424 | |
|
425 | 425 | imagerows = ['.. image:: %s' % outfile] |
|
426 | 426 |
General Comments 0
You need to be logged in to leave comments.
Login now