Skip to content

Commit 9de026c

Browse files
Benjamin T. Vincentdrbenvincent
andauthored
Fix gallery (pymc-devs#359)
* create truncated regression example * delete truncated regression example from main branch * create truncated regression example * delete truncated regression example from main branch * create truncated regression example * delete truncated regression example from main branch * fix incorrect statement about pm.NormalMixture * update gallery to include all (relevant) subfolders of examples * commit the *.myst.md files just magically created * delete myst_nbs/pymc3_howto * small fix to underlining of section headings * rename pymc_howto/ to howto/ * add the howto/*.myst.md files that suddenly appeared * rerun sampling_callback.ipynb (under v3) to fix cell order error * remove duplicate section in gallery.rst * global find and replace pymc3_howto -> howto * remove another duplicate in gallery.rst 🙄 * move BART and Spline notebooks into Case Studies to fix gallery rendering error It doesn't like it when there is only one notebook in each section * this should do it! Co-authored-by: Benjamin T. Vincent <[email protected]>
1 parent b8dd322 commit 9de026c

33 files changed

+437
-354
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
|examples/gaussian_processes/GP-Latent\.ipynb$
3030
|examples/gaussian_processes/GP-MaunaLoa2\.ipynb$
3131
|examples/samplers/MLDA_gravity_surveying\.ipynb$
32-
|examples/pymc3_howto/sampling_callback\.ipynb$
32+
|examples/howto/sampling_callback\.ipynb$
3333
|examples/case_studies/blackbox_external_likelihood\.ipynb$
3434
|examples/samplers/GLM-hierarchical-jax\.ipynb$
3535
|examples/variational_inference/convolutional_vae_keras_advi\.ipynb$
@@ -76,7 +76,7 @@ repos:
7676
examples/generalized_linear_models/GLM-robust.ipynb|
7777
examples/generalized_linear_models/GLM-rolling-regression.ipynb|
7878
examples/generalized_linear_models/GLM-simpsons-paradox.ipynb|
79-
examples/pymc3_howto/api_quickstart.ipynb|
79+
examples/howto/api_quickstart.ipynb|
8080
examples/samplers/MLDA_gravity_surveying.ipynb|
8181
examples/samplers/MLDA_simple_linear_regression.ipynb|
8282
examples/samplers/SMC-ABC_Lotka-Volterra_example.ipynb|
File renamed without changes.

examples/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def setup(app: Sphinx):
223223
"generalized_linear_models/*",
224224
"mixture_models/*",
225225
"ode_models/*",
226-
"pymc3_howto/*",
226+
"howto/*",
227227
"samplers/*",
228228
"splines/*",
229229
"survival_analysis/*",

examples/gallery.rst

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PyMC Example Gallery
77
object_index/index
88

99
(Generalized) Linear and Hierarchical Linear Models
10-
-------------------------
10+
---------------------------------------------------
1111

1212
.. nbgallery::
1313
:name: generalized_linear_models
@@ -48,6 +48,16 @@ Gaussian Processes
4848

4949
gaussian_processes/*
5050

51+
BART
52+
----
53+
54+
.. nbgallery::
55+
:name: BART
56+
:glob:
57+
:reversed:
58+
59+
BART/*
60+
5161
Inference in ODE models
5262
-----------------------
5363

@@ -107,3 +117,23 @@ Variational Inference
107117
:reversed:
108118

109119
variational_inference/*
120+
121+
How to
122+
------
123+
124+
.. nbgallery::
125+
:name: howto
126+
:glob:
127+
:reversed:
128+
129+
howto/*
130+
131+
Splines
132+
-------
133+
134+
.. nbgallery::
135+
:name: splines
136+
:glob:
137+
:reversed:
138+
139+
splines/*
File renamed without changes.

0 commit comments

Comments
 (0)