<br><br><div class="gmail_quote">On Tue, Jun 19, 2012 at 3:18 PM, Brian Granger <span dir="ltr"><<a href="mailto:ellisonbg@gmail.com" target="_blank">ellisonbg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Tue, Jun 19, 2012 at 2:59 PM, Fernando Perez <<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>> wrote:<br>
> On Tue, Jun 19, 2012 at 1:17 PM, MinRK <<a href="mailto:benjaminrk@gmail.com">benjaminrk@gmail.com</a>> wrote:<br>
>> Yes - we put metadata on outputs for a reason, presumably.  If this<br>
>> shouldn't be saved, it should probably be removed from the API.<br>
><br>
> I can't recall precisely what we had in mind when we put it in, but<br>
> something that springs to mind as potentially useful, for example,<br>
> would be to specify a desired priority order for the various types of<br>
> outputs. Right now when a client can display several kinds of output<br>
> it just makes a choice, but we could let objects provide a hint of the<br>
> preferred order, based on what they know about the relative quality of<br>
> each.<br>
<br>
</div>I originally put it there to allow objects to provide hints to the<br>
frontend on how it should display a representation.  This is similar<br>
to how the payloads can indicate where it came from.<br>
<div class="im"><br>
> So I'd vote for not removing this, as it may prove useful...<br>
<br>
</div>I also think it could be useful, although it seems a bit excessive to<br>
store metadata for each output.  Here is what I propose.  We simply<br>
leave it alone until we have an actual use case that will help us<br>
figure out exactly what this should look like.  Without a concrete<br>
usage case, it is difficult to know what is needed.<br></blockquote><div><br></div><div>But this doesn't answer the immediate question: Should this metadata dict be included in the nbformat</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div class="im HOEnZb"><br>
> f<br>
> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br>
<br>
<br>
</div><div class="im HOEnZb">--<br>
Brian E. Granger<br>
Cal Poly State University, San Luis Obispo<br>
<a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br>