diff --git a/src/2_debye_model.md b/src/2_debye_model.md
index caa7020364e47099c9c21242486deda2bc69c144..91e85410a9bb9329f187b29d72414778e0bcfa91 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)