Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

A note on p. 52 tell the range is optional. But the example don't work without it.

Also, increasing the number of samples have no effect.

plot(sol, range_=($tau$, 0, 10),samples=5000, title="Damped coupled oscillators");

in Bug reports by (340 points)

1 Answer

+2 votes

For the range deduction to work you need to use the devel branch; this has not made it to the master branch yet but slipped into the docs inadvertedly.

You are correct about the samples parameter not being fed through correctly; I have opened https://github.com/kpeeters/cadabra2/issues/371 to keep track of this. Thanks.

by (86.3k points)

Thanks.

I find another bug about samples. If range are passed as dict, the samples values is not used. I will check with the devel branch before opening an issue.

That's the same bug.

But samples work for parametric_plot() when called with range as tuple but not as dict.

...