Steven, Thanks for the reply, I'd definitely like to get something working for plots. I just did a quick test, but I wasn't able to see an image/png tag in display_data when I ran the following:
using Gadfly plot(x=[1:10], y=[1:10], Geom.point) Do I need to explicitly push the image/png mime type onto the display stack? (I'm not entirely up to speed on the display() machinery). All I saw for the above command was text/html. Is it just Gadfly that doesn't support pngs this way? Thanks. -Jacob On Fri, Feb 7, 2014 at 9:57 AM, Steven G. Johnson <[email protected]>wrote: > On Thursday, February 6, 2014 10:10:50 PM UTC-5, Jacob Quinn wrote: >> >> Hey Isaiah, >> >> No inline plotting yet, though I'm ready to start exploring what we can >> do here; possibly open up the plot in the default browser, sublime also >> recently got support for image viewing, so if we can get an image object >> back for the plot, we could open it up directly in sublime. >> > > Most of the plotting packages use the display/writemime facilities in > Julia, so that inline plotting works in IJulia+browser. They typically > support writemime to image/png. > > On your end, you just need to look at the "data" fields of the pyout and > display_data messages, which is a dictionary mapping MIME types to data. > Presumably, you are already looking at the text/plain output in order to > display results. You just need to look for image/png data and display > it, and most of the plotting packages should work. >
