Print plot filename so it can be easily opened

This commit is contained in:
Matthias
2019-08-04 10:25:46 +02:00
parent 62262d0bb5
commit e4380b533b
2 changed files with 5 additions and 2 deletions

View File

@@ -318,6 +318,7 @@ def store_plot_file(fig, filename: str, auto_open: bool = False) -> None:
"""
Path("user_data/plots").mkdir(parents=True, exist_ok=True)
plot(fig, filename=str(Path('user_data/plots').joinpath(filename)),
_filename = Path('user_data/plots').joinpath(filename)
plot(fig, filename=str(_filename),
auto_open=auto_open)
logger.info(f"Stored plot as {_filename}")