Closed apkrelling closed 3 years ago
pre-commit for layout.py raises
undefined name 'display'
display(form)
is necessary for the plots made by layout.py to appear on the notebook.
That is the only problem with the file. Locally I overran the pre-commit. @ocefpaf any suggestions on a better/nicer/more correct way to do this? Maybe change something in the pre-commit settings?
Is that the IPython.display
? Can we import it to make a defined func?
Is that the
IPython.display
? Can we import it to make a defined func?
Yes and yes. Now display
is a defined func.
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB