But why do we get _rich_repr_ on the console in the first place???

Martin

Am Mittwoch, 29. April 2015 15:48:13 UTC+2 schrieb Volker Braun:
>
> On Wednesday, April 29, 2015 at 7:16:20 AM UTC-4, Martin R wrote:
>>
>> I have read this thread, but I fail to understand the reason.  Eg., there 
>> is a commit "extrawurst for graphs".  I thought that by default all objects 
>> would display in the console their repr.  The commit seems to indicate that 
>> this doesn't work for graphs.  Why?
>>
>
> I changed graph._rich_repr_ to return graphics, so right now
>
> sage: graphs.PetersenGraph()
> Launched png viewer for Petersen graph: Graph on 10 vertices
>
> only displays graphics (there is a message that an external viewer was 
> launched since that may fail or take a long time). It doesn't output 
> graph._repr_, though it uses it to construct the informational message.
>
> In #18289 we will switch it back to graphs displaying as text on the 
> commandline.
>
>

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to