mirror of
https://github.com/vale981/hiroplotutils
synced 2025-03-04 17:11:38 -05:00
use paths relative to cwd
This commit is contained in:
parent
92ff585873
commit
69383271d0
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def save_figure(
|
||||||
):
|
):
|
||||||
import pickle
|
import pickle
|
||||||
|
|
||||||
directory = pathlib.Path(directory)
|
directory = (pathlib.Path.cwd()) / directory
|
||||||
directory.mkdir(exist_ok=True)
|
directory.mkdir(exist_ok=True)
|
||||||
|
|
||||||
write_meta(
|
write_meta(
|
||||||
|
|
Loading…
Add table
Reference in a new issue