Skip to content

Commit

Permalink
small changes suggested on review and codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Apr 15, 2023
1 parent 17c2226 commit aecdfa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/polyhedron/base6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,10 +1596,10 @@ def affine_hull_manifold(self, name=None, latex_name=None, start_index=0, ambien
sage: D = polytopes.dodecahedron() # optional - sage.rings.number_field
sage: E3 = EuclideanSpace(3) # optional - sage.rings.number_field # optional - sage.symbolic
sage: submanifolds = [ # optional - sage.rings.number_field # optional - sage.symbolic # long time
sage: submanifolds = [ # long time # optional - sage.rings.number_field # optional - sage.symbolic
....: F.as_polyhedron().affine_hull_manifold(name=f'F{i}', orthogonal=True, ambient_space=E3)
....: for i, F in enumerate(D.facets())]
sage: sum(FM.plot({}, srange(-2, 2, 0.1), srange(-2, 2, 0.1), opacity=0.2) # not tested # optional - sage.symbolic # optional - sage.plot # optional - sage.rings.number_field # long time
sage: sum(FM.plot({}, srange(-2, 2, 0.1), srange(-2, 2, 0.1), opacity=0.2) # not tested # long time # optional - sage.symbolic # optional - sage.plot # optional - sage.rings.number_field
....: for FM in submanifolds) + D.plot()
Graphics3d Object
Expand Down
3 changes: 2 additions & 1 deletion src/sage/plot/animate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,8 @@ def apng(self, savefile=None, show_path=False, delay=20, iterations=0):
sage: a = animate([sin(x + float(k)) for k in srange(0,2*pi,0.7)],
....: xmin=0, xmax=2*pi, figsize=[2,1])
sage: dir = tmp_dir()
sage: a.apng() # long time
sage: a.apng(show_path=True) # long time
Animation saved to ....png.
sage: a.apng(savefile=dir + 'my_animation.png', delay=35, iterations=3) # long time
sage: a.apng(savefile=dir + 'my_animation.png', show_path=True) # long time
Animation saved to .../my_animation.png.
Expand Down

0 comments on commit aecdfa5

Please sign in to comment.