diff --git a/src/14_doping_and_devices.md b/src/14_doping_and_devices.md
index 3960f68add9e29e78a1747242c4cab7ce265eda7..b513b21301da88a66024f1a28d97e7e718947a6e 100644
--- a/src/14_doping_and_devices.md
+++ b/src/14_doping_and_devices.md
@@ -93,8 +93,8 @@ fig, ax = pyplot.subplots()
 n_F = 1/(np.exp(2*(E - E_F)) + 1)
 g_e = m_e * sqrt_plus(E - E_C)
 g_h = m_h * sqrt_plus(E_V - E)
-ax.plot(E, g_h, label="$g_e$")
-ax.plot(E, g_e, label="$g_h$")
+ax.plot(E, g_h, label="$g_h$")
+ax.plot(E, g_e, label="$g_e$")
 
 sigma = 0.01
 g_D = np.exp(-(E_D - E)**2 / sigma**2)