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

notebook 03. How Numba Works doesn't display html in-line #10

Open
upandacross opened this issue Oct 18, 2018 · 1 comment
Open

notebook 03. How Numba Works doesn't display html in-line #10

upandacross opened this issue Oct 18, 2018 · 1 comment

Comments

@upandacross
Copy link

upandacross commented Oct 18, 2018

(an aside: The notebook version of nopython_failure.py omits "from numba import jit")

The html created by "!numba --annotate-html fail.html nopython_failure.py" can be displayed in-line by the following cell with the following changes:

from IPython.core.display import HTML
HTML('fail.html')

@gforsyth
Copy link
Owner

Thanks for raising this @upandacross !
I know the HTML annotated view offers some expanding and collapsing views of the code, do those still work when they're displayed in-line?
If so, a PR changing this would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants