Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

term_image.image.TermImage is deprecated #802

Open
thatlittleboy opened this issue May 11, 2023 · 0 comments
Open

term_image.image.TermImage is deprecated #802

thatlittleboy opened this issue May 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@thatlittleboy
Copy link

What happened?

term_image.image.TermImage is deprecated already in term-image==0.5.0. So I'm facing an error when using the latest version of nbpreview.

If I manually downgrade term-image you'll see the deprecation warning.

image

term-image also recommends

If you want to use this library in a project while it's still on version zero, ensure you pin the dependency version to a specific minor version e.g >=0.4,<0.5.

in their README.

Expect no errors to appear when I nbpreview.

nbpreview version

nbpreview 0.9.1

Output

image

Notebook

https://github.com/dsgibbons/shap/blob/1d9224e890e45c10f494c54eafee3f6a6ba05a11/notebooks/overviews/An%20introduction%20to%20explainable%20AI%20with%20Shapley%20values.ipynb

OS

macOS

Terminal

kitty

Python version

3.10

@thatlittleboy thatlittleboy added the bug Something isn't working label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant