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

Retina image support #5

Closed
ismailuddin opened this issue May 30, 2018 · 2 comments
Closed

Retina image support #5

ismailuddin opened this issue May 30, 2018 · 2 comments

Comments

@ismailuddin
Copy link

ismailuddin commented May 30, 2018

On Retina screens, there's an option to display inline Matplotlib figures at double resolution so they don't look blurry (https://gist.github.com/minrk/3301035)

With this option enabled, the figures in notebooks when viewed through this plugin are too big to be seen fully in the preview and also look blurry.

screen shot 2018-05-30 at 10 36 59

@tuxu
Copy link
Owner

tuxu commented May 30, 2018

I will look into this. The problem is actually that the metadata stored with the embedded image is ignored in nbviewer.js. This is usually no problem, but for retina images, the metadata contains the width and height for display.

@tuxu
Copy link
Owner

tuxu commented Jun 10, 2018

Fixed in 43929a7

@tuxu tuxu closed this as completed Jun 10, 2018
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