From d77f77697c7298fd0596e3aa55689709445bdf0e Mon Sep 17 00:00:00 2001 From: Shyue Ping Ong Date: Fri, 28 Jun 2024 09:49:32 -0700 Subject: [PATCH] Fix really bad refactoring of return of axes. Most of the show() functions are broken. --- src/pymatgen/analysis/wulff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymatgen/analysis/wulff.py b/src/pymatgen/analysis/wulff.py index fa1947145dc..23a6986d87f 100644 --- a/src/pymatgen/analysis/wulff.py +++ b/src/pymatgen/analysis/wulff.py @@ -309,7 +309,7 @@ def show(self, *args, **kwargs): *args: Passed to get_plot. **kwargs: Passed to get_plot. """ - self.get_plot(*args, **kwargs).show() + self.get_plot(*args, **kwargs).get_figure().show() def get_line_in_facet(self, facet): """Get the sorted pts in a facet used to draw a line."""