Ask Your Question

Revision history [back]

Instead of show(P1), do P1.show().

Instead Quick solution: instead of show(P1), do P1.show().

Comment: This looks like it could be a bug. For anyone interested in the bug: on my computer, show(P1) has the same effect as P1.show(); on SageMathCloud, it seems to "pretty-print" the string for latex(P1).

Quick solution: instead of show(P1), do P1.show().

Comment: This looks like it could be a bug. bug to me. For anyone interested in the bug: interested: while on my computer, show(P1) has the same effect as P1.show(); , on SageMathCloud, it seems to "pretty-print" the string for latex(P1).. Compare:

sage: latex(P1)
\text{\texttt{A{ }2{-}dimensional{ }polyhedron{ }in{ }ZZ{\char`\^}2{ }defined{ }as{ }the{ }convex{ }hull{ }of{ }4{ }vertices}}