Skip to content

Commit

Permalink
Merge branch 'master' into line-too-long
Browse files Browse the repository at this point in the history
  • Loading branch information
xiki-tempula authored Oct 29, 2024
2 parents f397654 + 190308e commit 18c9b96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/visualisation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ and the corresponding error. ::
>>> backward_error.append(estimate.d_delta_f_.iloc[0,-1])

>>> from alchemlyb.visualisation import plot_convergence
>>> ax = plot_convergence(forward, forward_error, backward, backward_error)
>>> df = pd.DataFrame({'Forward':forward, 'Backward':backward, 'Forward_Error':forward_error, 'Backward_Error':backward_error})
>>> ax = plot_convergence(df)
>>> ax.figure.savefig('dF_t.pdf')

Will give a plot looks like this
Expand Down

0 comments on commit 18c9b96

Please sign in to comment.