From e00c932007323f18cbb56b117bebc8eb2f371af0 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Sun, 24 Jan 2021 13:28:35 +0000 Subject: [PATCH] 0.1.10 --- climetlab/__init__.py | 2 +- climetlab/plotting/drivers/magics/driver.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/climetlab/__init__.py b/climetlab/__init__.py index aa35ad81..9c2003bf 100644 --- a/climetlab/__init__.py +++ b/climetlab/__init__.py @@ -25,7 +25,7 @@ # import logging -__version__ = "0.1.9" +__version__ = "0.1.10" # if ipython_active: diff --git a/climetlab/plotting/drivers/magics/driver.py b/climetlab/plotting/drivers/magics/driver.py index c05d7505..850f2692 100644 --- a/climetlab/plotting/drivers/magics/driver.py +++ b/climetlab/plotting/drivers/magics/driver.py @@ -388,6 +388,8 @@ def show(self): if path.endswith(".svg"): Display = SVG # noqa: N806 + elif path.endswith(".pdf"): + return path else: Display = Image # noqa: N806