Skip to content

Commit d77f776

Browse files
committed
Fix really bad refactoring of return of axes.
Most of the show() functions are broken.
1 parent c6def7a commit d77f776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pymatgen/analysis/wulff.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def show(self, *args, **kwargs):
309309
*args: Passed to get_plot.
310310
**kwargs: Passed to get_plot.
311311
"""
312-
self.get_plot(*args, **kwargs).show()
312+
self.get_plot(*args, **kwargs).get_figure().show()
313313

314314
def get_line_in_facet(self, facet):
315315
"""Get the sorted pts in a facet used to draw a line."""

0 commit comments

Comments
 (0)