Skip to content

Commit

Permalink
Fix really bad refactoring of return of axes.
Browse files Browse the repository at this point in the history
Most of the show() functions are broken.
  • Loading branch information
shyuep committed Jun 28, 2024
1 parent c6def7a commit d77f776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymatgen/analysis/wulff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit d77f776

Please sign in to comment.