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

Broken on master due to display detection #281

Closed
yuyichao opened this issue Feb 10, 2017 · 2 comments
Closed

Broken on master due to display detection #281

yuyichao opened this issue Feb 10, 2017 · 2 comments

Comments

@yuyichao
Copy link
Contributor

PyPlot is currently broken for me on master in REPL due to JuliaLang/julia#19993. The issue seems to be that application/postscript and image/svg+xml are istextmime so displayable of them returns true for the REPL (TextDisplay), triggering the logic to use the Agg backend instead of showing a window....

Removing the two problematic entries from aggformats locally fixes the issue (obviously not the right solution).

@stevengj
Copy link
Member

stevengj commented Feb 10, 2017

I think it would be fine to just define isdisplayok() = displayable(MIME("image/png")), on the theory that any real graphical display should at least support PNG.

@yuyichao
Copy link
Contributor Author

That would certainly work for me. =)

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