From ee36a97ac50846c5ee4ef34d1c9ac6f48fc6870c Mon Sep 17 00:00:00 2001 From: Joana Fraxanet Morales <joana.fraxanet@gmail.com> Date: Sun, 20 Jan 2019 18:19:28 +0000 Subject: [PATCH] Fix ax.set_title(). --- src/2_debye_model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/2_debye_model.md b/src/2_debye_model.md index caa7020..91e8541 100644 --- a/src/2_debye_model.md +++ b/src/2_debye_model.md @@ -120,7 +120,7 @@ def c_debye(T, T_D): fig, ax = pyplot.subplots() ax.scatter(T, c) -ax.title('Heat capacity of silver compared to the Debye and Einstein models') +ax.set_title('Heat capacity of silver compared to the Debye and Einstein models') ax.plot(T, c_einstein(T, 151), label='Einstein model') ax.plot(T, c_debye(T, 215), label='Debye model') ax.set_ylim(bottom=0, top=26) -- GitLab