Skip to content

Commit 8d19efa

Browse files
author
Release Manager
committed
Trac #34606: fix doc with respect to a change in behavior for tikz method of polyhedron (since 9.7 -> since 9.8)
because #33002 was merged in 9.8 not in 9.7 URL: https://trac.sagemath.org/34606 Reported by: slabbe Ticket author(s): Sébastien Labbé Reviewer(s): Matthias Koeppe
2 parents 3916f8e + 103bcc4 commit 8d19efa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/en/thematic_tutorials/geometry/polytope_tikz.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ paper. TikZ is a very versatile tool to draw in scientific documents
1515
and Sage can deal easily with 3-dimensional polytopes. Finally sagetex
1616
makes everything work together nicely between Sage, TikZ and
1717
LaTeX. Since version 6.3 of Sage, there is a function for (projection
18-
of) polytopes to output a TikZ picture of the polytope. Since version 9.7 of
18+
of) polytopes to output a TikZ picture of the polytope. Since version 9.8 of
1919
SageMath, the tikz output can be a ``TikzPicture`` object from the sage module
2020
``sage.misc.latex_standalone``. This short tutorial shows how it all works.
2121

@@ -61,7 +61,7 @@ You can customize the polytope using the following options in the command ``P.ti
6161
- ``opacity`` : real number (default: ``0.8``) between 0 and 1 giving the opacity of the front facets,
6262
- ``axis`` : Boolean (default: ``False``) draw the axes at the origin or not.
6363
- ``output_type`` : string (default: ``None``) ``None``, ``'LatexExpr'`` or
64-
``'TikzPicture'``, the type of the output. Since SageMath 9.7, the value ``None`` is deprecated
64+
``'TikzPicture'``, the type of the output. Since SageMath 9.8, the value ``None`` is deprecated
6565
as the default value will soon be changed from ``'LatexExpr'`` to ``'TikzPicture'``.
6666

6767
Examples
@@ -90,7 +90,7 @@ When you found a good angle, follow the above procedure to obtain the values
9090

9191
.. end of output
9292
93-
Note: the ``output_type='TikzPicture'`` is necessary since SagMath 9.7 to avoid
93+
Note: the ``output_type='TikzPicture'`` is necessary since SagMath 9.8 to avoid
9494
a deprecation warning message since the default output type will soon change
9595
from a ``LatexExpr`` (Python str) to a ``TikzPicture`` object (allowing more
9696
versatility, like being able to view it directly in the Jupyter notebook).

0 commit comments

Comments
 (0)