Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
ManifoldSubset.declare_{sub,super}set: Expand docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed May 9, 2021
1 parent 94edd68 commit 41826b4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sage/manifolds/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,9 +1381,14 @@ def declare_subset(self, *supersets):
sage: P = M.subset_poset()
sage: P.plot(element_labels={element: label(element) for element in P})
Graphics object consisting of 9 graphics primitives
Subsets in a directed cycle of inclusions are equal::
sage: M.declare_subset(V)
sage: M.superset_family()
Set {M, U1, U2, V} of open subsets of the 2-dimensional differentiable manifold M
sage: M.equal_subset_family()
Set {M, U1, U2, V} of open subsets of the 2-dimensional differentiable manifold M
sage: P = M.subset_poset()
sage: P.plot(element_labels={element: label(element) for element in P})
Graphics object consisting of 2 graphics primitives
Expand Down Expand Up @@ -1442,9 +1447,14 @@ def declare_superset(self, *subsets):
sage: P = M.subset_poset()
sage: P.plot(element_labels={element: label(element) for element in P})
Graphics object consisting of 11 graphics primitives
Subsets in a directed cycle of inclusions are equal::
sage: W.declare_superset(U)
sage: W.subset_family()
Set {U, V1, V1_inter_V2, V2} of open subsets of the 2-dimensional differentiable manifold M
sage: W.equal_subset_family()
Set {U, V1, V1_inter_V2, V2} of open subsets of the 2-dimensional differentiable manifold M
sage: P = M.subset_poset()
sage: P.plot(element_labels={element: label(element) for element in P})
Graphics object consisting of 4 graphics primitives
Expand Down

0 comments on commit 41826b4

Please sign in to comment.