Skip to content

Commit

Permalink
plot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed May 21, 2024
1 parent 7dfe001 commit 44a6220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/analysis/defects/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ def plot_formation_energy_diagrams(
if show_legend:
lg = axis.get_legend()
if lg:
handle, leg = lg.legendHandles, [txt._text for txt in lg.texts]
handle, leg = lg.legend_handles, [txt._text for txt in lg.texts]
else:
handle, leg = [], []

Expand Down

0 comments on commit 44a6220

Please sign in to comment.