Skip to content

Commit 25b56d5

Browse files
committed
fix doc error
1 parent 0bdd9ef commit 25b56d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/examples/gallery/working_with_distributions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ We can also create PreliZ distributions from PyMC distributions.
272272

273273
```{jupyter-execute}
274274
import pymc as pm
275-
pz.from_pymc(pm.Normal(mu=0, sigma=1)).summary()
275+
pz.from_pymc(pm.Normal.dist(mu=0, sigma=1)).summary()
276276
```
277277

278278
For some functions (currently the only supported is `pz.plot`) you can directly pass a PyMC distribution, and it will work as expected.

0 commit comments

Comments
 (0)