Skip to content

Use display, rather than publish_display_data#5

Open
jhamrick wants to merge 1 commit intocatherinedevlin:masterfrom
jhamrick:update-display-data
Open

Use display, rather than publish_display_data#5
jhamrick wants to merge 1 commit intocatherinedevlin:masterfrom
jhamrick:update-display-data

Conversation

@jhamrick
Copy link

The message spec in IPython was recently updated, and they no longer support publish_display_data (see IPEP 13). In particular, if you use nbconvert to convert a notebook that uses the doctester to HTML, the HTML output of "success" (or the failures) doesn't get converted because it's not actually displayed -- this pull request updates the doctester to be in line with IPEP 13, and display the data so that it will work with nbconvert.

The message spec stuff is pretty new, though, so understandable if you want to wait a while before merging this. But I thought I'd go ahead and submit a pull request in case anyone else finds this change useful.

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

Successfully merging this pull request may close these issues.

1 participant