> > > For example view(Poset( ([1,2,3,4,5], [[1,2],[1,3],[3,4],[2,5],[4,5]]) ), > tightpage=True) does nothing. >
It takes a few seconds to feed it to my pdf viewer, but it works for me (and I have installed the dot2tex optional spkg). > > OK, maybe I understood a little of that. > > But then going back to tode. For example posets.py has > > def has_top(self): > return self._hasse_diagram.has_top() > > and documentation and two examples. hasse_diagrams.py contains > > def has_top(self): > if not self.top() is None: return True > return False > and almost same documentation and exactly same examples. Why isn't that > code put directly to posets.py? > > My understanding is Hasse diagram is the back-end digraph for the poset and many of the methods don't want to be inherited/exposed. However I'm not completely sure why that particular the design decision was made. Best, Travis -- 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.