[Warning: this is a reply to a 5-month-old post.]

Wed 2017-08-30 13:51:58 UTC, Erik Bray:
>
> Hi,
>
> Has anyone here tried playing around with the SIXEL graphics format 
> for Sage plots before?  SIXEL [1] is a graphics format that was 
> supported by VT300 terminals for displaying images in the terminal, 
> and many terminal emulators support it.  For example, gnuplot has long 
> been able to display plots in SIXEL format (see attached screenshot), 
> and I've used in the past for displaying images in the terminal (there 
> are programs that can convert existing images to SIXEL and cat them).
>
> I just wonder if anyone's found a workaround for this to work in Sage, 
> rather than have plots pop up in a separate image viewer.
>
> ISTM if nothing else, this could be done in a hackish way by taking 
> images output by Sage, pass them through a SIXEL converter, and then 
> print the SIXEL data.  I haven't tried fully integrating this, but 
> simply print()ing a SIXEL image from Python works from the Sage REPL, 
> at least on my terminal.
>
> Surely I'm not the only one who's tried this?
>
> Erik
>
> [1] https://en.wikipedia.org/wiki/Sixel

Sorry I didn't reply when you wrote this, the last days of August
and first days of September I was busy moving to Mexico...

I was amazed by your post and screenshot, never having thought
such integration of graphics in the terminal was possible. Having
this for the Sage REPL would be wonderful. Please open a ticket
and/or write instructions in a blog post or a wiki page.

Samuel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to