Impossible to reproduce example from "Basic Usage 2", using ```@handcalcs()``` generates a function that doesn't output anything
I'm trying to reproduce the example from "Basic Usage 2: As a decorator on your functions, @handcalc()", but the variable vals is empty in my case.
Using @handcalc(jupyter_display=True) does render the LaTeX formulas correctly, but the value of vals is None.
Same here,
@ragdollfun and @scote89
It goes like this:
Thanks for pointing out that the return statement is missing from the example. On a previous version of handcalcs, the locals() dictionary was returned without having to use the return statement. That is no longer the case.
I have just updated the example.
Hi Connor. Simple question. It is possible to add comments to functions with decorators? Thanks.
Yes, by using """comments""'.