Skip to content

Commit 00e6ced

Browse files
docs: Fix call to pm.sample (#216)
1 parent 724e620 commit 00e6ced

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/pymc-usage.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Alternatively, we can also sample through the `pymc` API:
8282

8383
```python
8484
with model:
85-
trace = pm.sample(model, nuts_sampler="nutpie")
85+
trace = pm.sample(nuts_sampler="nutpie")
8686
```
8787

8888
While sampling, nutpie shows a progress bar for each chain. It also includes
@@ -138,7 +138,6 @@ Or through the pymc API:
138138
```python
139139
with model:
140140
trace = pm.sample(
141-
model,
142141
nuts_sampler="nutpie",
143142
nuts_sampler_kwargs={"backend": "jax"},
144143
)

0 commit comments

Comments
 (0)