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
The script doesn't work if run from a command line or from a python REPL.
The issue is that there is a display() function used in this script that is undefined if run with python, but gets magically defined if run in jupyter or ipython.
The solution is to import it from IPython like this: from IPython.core.display_functions import display
The text was updated successfully, but these errors were encountered:
The script doesn't work if run from a command line or from a python REPL.
The issue is that there is a display() function used in this script that is undefined if run with python, but gets magically defined if run in jupyter or ipython.
The solution is to import it from IPython like this:
from IPython.core.display_functions import display
The text was updated successfully, but these errors were encountered: