You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for such an an amazing book. I am experiencing this issue where some plots (not all) throw the below error in a windows environment using conda. Not sure if it's a bug or an issue on my side, if possible please let me know:
File: 01-g-h-filter.ipynb
Cell: 8
import kf_book.gh_internal as gh
gh.plot_hypothesis1()
It looks like a change happened in a recent version of Python. When I run x = "last estimate ($\hat{x}_{t-1}$)" in a Python 3.11 environment, everything's fine, while in 3.13, I get the SyntaxWarning (and I haven't tested 3.12 or looked through release info to see what's changed).
In any event, the fix is easy. Just go into gh_internal.py and put an r in front of the offending strings to make them raw strings.
First off, thank you for such an an amazing book. I am experiencing this issue where some plots (not all) throw the below error in a windows environment using conda. Not sure if it's a bug or an issue on my side, if possible please let me know:
File: 01-g-h-filter.ipynb
Cell: 8
Error:
Thanks,
The text was updated successfully, but these errors were encountered: