<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 30, 2018 at 3:41 PM, Eric Wieser <span dir="ltr"><<a href="mailto:wieser.eric+numpy@gmail.com" target="_blank">wieser.eric+numpy@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 dir="ltr"><div class="m_305130354793058807markdown-here-wrapper" style="font-size:1em;font-family:Helvetica,arial,freesans,clean,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255);border:none;line-height:1.2"><p style="margin:1em 0px">Since the one of the arguments for the decreasing order seems to just be textual representation - do we want to tweak the repr to something like</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre-wrap;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">Polynomial(lambda x: 2*x**3 + 3*x**2 + x + 0)
</code></pre><p style="margin:1em 0px">(And add a constructor that calls the lambda with <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">Polynomial(1)</code>)</p>
<p style="margin:1em 0px">Eric</p></div></div></blockquote><div><br></div><div>IIRC there was a proposal for that. There is the possibility of adding renderers for latex and html that could be used by Jupyter, and I think the ordering was an option. </div><div><br></div><div>Chuck </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="m_305130354793058807markdown-here-wrapper" style="font-size:1em;font-family:Helvetica,arial,freesans,clean,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255);border:none;line-height:1.2">
<div title="MDH:U2luY2UgdGhlIHByaW1hcnkgYXJndW1lbnQgZm9yIHRoZSBkZWNyZWFzaW5nIG9yZGVyIHNlZW1z
IHRvIGp1c3QgYmUgdGV4dHVhbCByZXByZXNlbnRhdGlvbiAtIGRvIHdlIHdhbnQgdG8gdHdlYWsg
dGhlIHJlcHIgdG8gc29tZXRoaW5nIGxpa2U8YnI+PGJyPmBgYDxicj5Qb2x5bm9taWFsKGxhbWJk
YSB4OiAyKngqKjPCoCsgMyp4KioywqArIHjCoCsgMCk8ZGl2PmBgYDwvZGl2PjxkaXY+KEFuZCBh
ZGQgYSBjb25zdHJ1Y3RvciB0aGF0IGNhbGxzIHRoZSBsYW1iZGEgd2l0aCBgUG9seW5vbWlhbCgx
KWApPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5FcmljPC9kaXY+" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div></blockquote></div></div></div>