-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Reworking the display system #9629
Comments
To clarify the relationship between this and those issues, the intention is that |
This all sounds quite good to me although I have to confess I don't fully understand the implications. People who might have useful input: @stevengj as one of the original authors of the |
Why was this closed? I also agree that this sounds like a very good enhancement. |
I definitely still think this is a good idea, and would love to get feedback from those two and anyone else who's interested. But it occurs to me that it doesn't immediately need to be part of Base, so it's probably best to flesh out the details as part of the Media.jl package (which I can integrate with Juno esily enough) and keep official support as a seperate step. |
I want to suggest a reworking of the current display system that addresses some of its current limitations. To get a feel for what I'm talking about it would be a good idea to try out the Blink.jl display which contains a documented, functional implementation of most of these ideas.
Main Issues
Proposed Solutions
media(::Gadfly.Plot) = Media.Graphical
, in order to categorise output types more usefully than the mime-type shotgun.Media.jl's high-level API is very similar to the current
display
system, even though the mechanics are very different, so there's no huge increase in user-facing complexity.The idea of inputs has other advantages; for example, reading input from the user depends heavily on the input device used, but by dispatching on
current_input()
we can have a singlereadinput()
function serve any possible input device.Any thoughts, ideas, concerns?
The text was updated successfully, but these errors were encountered: