Skip to content

Commit b135dd8

Browse files
committed
review of figure titles
1 parent 536a511 commit b135dd8

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

lectures/heavy_tails.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ heavy-tailed.
334334
---
335335
mystnb:
336336
figure:
337-
caption: Histogram of Cauchy distribution
338-
name: hist-cauchy
337+
caption: Draws from Normal and Cauchy distributions
338+
name: draws-normal-cauchy
339339
---
340340
n = 120
341341
np.random.seed(11)
@@ -393,8 +393,8 @@ Here are some draws from the exponential distribution.
393393
---
394394
mystnb:
395395
figure:
396-
caption: Histogram of Exponential distribution
397-
name: hist-exponential
396+
caption: Draws of Exponential distribution
397+
name: draws-exponential
398398
---
399399
n = 120
400400
np.random.seed(11)
@@ -450,8 +450,8 @@ $1$.
450450
---
451451
mystnb:
452452
figure:
453-
caption: Histogram of Pareto distribution
454-
name: hist-pareto
453+
caption: Draws from Pareto distribution
454+
name: draws-pareto
455455
---
456456
n = 120
457457
np.random.seed(11)
@@ -528,6 +528,12 @@ $$
528528
Here's a plot that illustrates how $G_E$ goes to zero faster than $G_P$.
529529

530530
```{code-cell} ipython3
531+
---
532+
mystnb:
533+
figure:
534+
caption: Pareto and exponential distribution comparison
535+
name: compare-pareto-exponential
536+
---
531537
x = np.linspace(1.5, 100, 1000)
532538
fig, ax = plt.subplots()
533539
alpha = 1.0
@@ -541,6 +547,12 @@ Here's a log-log plot of the same functions, which makes visual comparison
541547
easier.
542548

543549
```{code-cell} ipython3
550+
---
551+
mystnb:
552+
figure:
553+
caption: Pareto and exponential distribution comparison (log-log)
554+
name: compare-pareto-exponential-log-log
555+
---
544556
fig, ax = plt.subplots()
545557
alpha = 1.0
546558
ax.loglog(x, np.exp(- alpha * x), label='exponential', alpha=0.8)

0 commit comments

Comments
 (0)