Skip to content

Commit d72ef82

Browse files
committed
Fix f-string prefix order in .ipynb file: fr -> rf
1 parent 23056eb commit d72ef82

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/generalized_linear_models/GLM-hierarchical-binomial-model.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
":::{post} Jan 10, 2023\n",
99
":tags: generalized linear model, hierarchical model \n",
1010
":category: intermediate\n",
11-
":author: Demetri Pananos, Junpeng Lao, Raúl Maldonado, Farhan Reynaldo\n",
11+
":author: Demetri Pananos, Junpeng Lao, Ra\u00fal Maldonado, Farhan Reynaldo\n",
1212
":::"
1313
]
1414
},
@@ -203,7 +203,7 @@
203203
"ix_z, ix_x = np.unravel_index(np.argmax(surface, axis=None), surface.shape)\n",
204204
"ax.scatter([X[0, ix_x]], [Z[ix_z, 0]], color=\"red\")\n",
205205
"\n",
206-
"text = fr\"$({np.round(X[0, ix_x], 2)},{np.round(Z[ix_z, 0], 2)})$\"\n",
206+
"text = rf\"$({np.round(X[0, ix_x], 2)},{np.round(Z[ix_z, 0], 2)})$\"\n",
207207
"\n",
208208
"ax.annotate(\n",
209209
" text,\n",
@@ -602,7 +602,7 @@
602602
"\n",
603603
".xr-section-summary-in + label:before {\n",
604604
" display: inline-block;\n",
605-
" content: '';\n",
605+
" content: '\u25ba';\n",
606606
" font-size: 11px;\n",
607607
" width: 15px;\n",
608608
" text-align: center;\n",
@@ -613,7 +613,7 @@
613613
"}\n",
614614
"\n",
615615
".xr-section-summary-in:checked + label:before {\n",
616-
" content: '';\n",
616+
" content: '\u25bc';\n",
617617
"}\n",
618618
"\n",
619619
".xr-section-summary-in:checked + label > span {\n",
@@ -892,7 +892,7 @@
892892
"## Authors\n",
893893
"\n",
894894
"* Adapted from chapter 5 of Bayesian Data Analysis 3rd Edition {cite:p}`gelman2013bayesian` by Demetri Pananos and Junpeng Lao ([pymc#3054](https://github.com/pymc-devs/pymc/pull/3054))\n",
895-
"* Updated and reexecuted by Raúl Maldonado ([pymc-examples#24](https://github.com/pymc-devs/pymc-examples/pull/24), [pymc-examples#45](https://github.com/pymc-devs/pymc-examples/pull/45) and [pymc-examples#147](https://github.com/pymc-devs/pymc-examples/pull/147))\n",
895+
"* Updated and reexecuted by Ra\u00fal Maldonado ([pymc-examples#24](https://github.com/pymc-devs/pymc-examples/pull/24), [pymc-examples#45](https://github.com/pymc-devs/pymc-examples/pull/45) and [pymc-examples#147](https://github.com/pymc-devs/pymc-examples/pull/147))\n",
896896
"* Updated and reexecuted by Farhan Reynaldo in November 2021 ([pymc-examples#248](https://github.com/pymc-devs/pymc-examples/pull/248))\n",
897897
"* Rerun with PyMC v5, by Reshama Shaikh, January 2023"
898898
]
@@ -969,4 +969,4 @@
969969
},
970970
"nbformat": 4,
971971
"nbformat_minor": 4
972-
}
972+
}

0 commit comments

Comments
 (0)