Skip to content

Commit

Permalink
compat with matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
mhangaard committed Dec 4, 2022
1 parent b6a12f3 commit a0af3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catlearn/optimize/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def plotneb(trajectory='ML_NEB_catlearn.traj', view_path=True):
xycoords='data', xytext=(x_pred[np.argmax(e_pred)], 0.0),
textcoords='data', arrowprops=prop_plots)

ax.annotate(s=str(np.round(e_barrier, 3))+' eV',
ax.annotate(str(np.round(e_barrier, 3))+' eV',
xy=(x_pred[np.argmax(e_pred)], np.max(e_pred)/1.65),
xycoords='data',
fontsize=15.0,
Expand Down

0 comments on commit a0af3d9

Please sign in to comment.