Skip to content

Commit 15bcacb

Browse files
committed
Minor formatting nit
1 parent 287fced commit 15bcacb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

notebook_features/shaded_normal_density_curve.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
" figsize : tuple of 2 floats or None, default: (8, 6)\n",
6161
" The size of the plot in inches. If None, the default matplotlib figure size will be used as this is passed to `matplotlib.pyplot.figure`.\n",
6262
" color : color, default: 'xkcd:sky blue'\n",
63-
" The color of the shaded area as a valid <matplotlib color https://matplotlib.org/stable/users/explain/colors/colors.html>_.\n",
63+
" The color of the shaded area as a valid `matplotlib color <https://matplotlib.org/stable/users/explain/colors/colors.html>`__.\n",
6464
" x_label : str, default: 'x'\n",
6565
" The label for the x-axis.\n",
6666
" y_label : str, default: 'f(x; μ,σ)'\n",
@@ -84,9 +84,9 @@
8484
"\n",
8585
" References\n",
8686
" ----------\n",
87-
" Based off of an R function written by Dr. Irene Vrbick for making `shaded normal density curves <https://irene.vrbik.ok.ubc.ca/blog/2021-11-04-shading-under-the-normal-curve/>`_.\n",
87+
" Based off of an R function written by Dr. Irene Vrbick for making `shaded normal density curves <https://irene.vrbik.ok.ubc.ca/blog/2021-11-04-shading-under-the-normal-curve/>`__.\n",
8888
"\n",
89-
" The R function by Dr. Irene Vrbick was adapted from `here <http://rstudio-pubs-static.s3.amazonaws.com/78857_86c2403ca9c146ba8fcdcda79c3f4738.html>`_.\n",
89+
" The R function by Dr. Irene Vrbick was adapted from `here <http://rstudio-pubs-static.s3.amazonaws.com/78857_86c2403ca9c146ba8fcdcda79c3f4738.html>`__.\n",
9090
" \"\"\"\n",
9191
" if not isinstance(mean, (float, int)):\n",
9292
" raise TypeError(f\"mean must be a number, not a {mean.__class__.__name__!r}\")\n",

src/problem_bank_helpers/stats.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def shaded_normal_density(
5050
figsize : tuple of 2 floats or None, default: (8, 6)
5151
The size of the plot in inches. If None, the default matplotlib figure size will be used as this is passed to `matplotlib.pyplot.figure`.
5252
color : color, default: 'xkcd:sky blue'
53-
The color of the shaded area as a valid <matplotlib color https://matplotlib.org/stable/users/explain/colors/colors.html>_.
53+
The color of the shaded area as a valid `matplotlib color <https://matplotlib.org/stable/users/explain/colors/colors.html>`__.
5454
x_label : str, default: 'x'
5555
The label for the x-axis.
5656
y_label : str, default: 'f(x; μ,σ)'
@@ -74,9 +74,9 @@ def shaded_normal_density(
7474
7575
References
7676
----------
77-
Based off of an R function written by Dr. Irene Vrbick for making `shaded normal density curves <https://irene.vrbik.ok.ubc.ca/blog/2021-11-04-shading-under-the-normal-curve/>`_.
77+
Based off of an R function written by Dr. Irene Vrbick for making `shaded normal density curves <https://irene.vrbik.ok.ubc.ca/blog/2021-11-04-shading-under-the-normal-curve/>`__.
7878
79-
The R function by Dr. Irene Vrbick was adapted from `here <http://rstudio-pubs-static.s3.amazonaws.com/78857_86c2403ca9c146ba8fcdcda79c3f4738.html>`_.
79+
The R function by Dr. Irene Vrbick was adapted from `here <http://rstudio-pubs-static.s3.amazonaws.com/78857_86c2403ca9c146ba8fcdcda79c3f4738.html>`__.
8080
"""
8181
if not isinstance(mean, (float, int)):
8282
raise TypeError(f"mean must be a number, not a {mean.__class__.__name__!r}")

0 commit comments

Comments
 (0)