-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix: Update display import for compatibility with latest IPython Fixes: #13763 #13787
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
base: master
Are you sure you want to change the base?
Conversation
also ran into this issue, was about to submit my own PR |
Thanks a lot and sorry for only getting to this now! Just wondering if we should include a |
Yup working on that |
done fixed |
@ines ping... |
this is very annoying especially when working with prodigy :/ had to patch version which prodigy pulls etc |
Fix: Update display import for compatibility with latest IPython
Description
This PR updates the import statement in
displacy.render()
to fix anImportError
caused by breaking changes in IPython 9+.Replaced:
With:
The
display
function is no longer available inIPython.core.display
in IPython 9 and above. This change ensuresdisplacy.render()
works correctly in Jupyter and notebook environments using newer versions of IPython.Tested in:
displacy.render()
now works without error.Types of change
Checklist
Fixes: #13763