numba_tutorial_scipy2017 icon indicating copy to clipboard operation
numba_tutorial_scipy2017 copied to clipboard

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

Open upandacross opened this issue 7 years ago • 1 comments

(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')

upandacross avatar Oct 18 '18 13:10 upandacross

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!

gforsyth avatar Oct 18 '18 13:10 gforsyth