#20343: Adding sage/misc/tikzpicture.py
-------------------------+-------------------------------------------------
Reporter: | Owner:
slabbe | Status: needs_review
Type: | Milestone: sage-7.2
enhancement | Resolution:
Priority: major | Merged in:
Component: misc | Reviewers:
Keywords: | Work issues:
Authors: | Commit:
Sébastien Labbé | 476b574c4198115e6e98e3396ed32f4b95077c35
Report Upstream: N/A | Stopgaps:
Branch: |
u/slabbe/20343 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by dkrenn):
Replying to [comment:6 slabbe]:
> Replying to [comment:5 dkrenn]:
> > A comment:
> > {{{
> > t = TikzPicture(latex(transducers.GrayCode()))
> > t.pdf()
> > }}}
> > does not work as the preamble is not set correctly.
>
> As it is now, the user must set the libraries. This should work:
> {{{
> t = TikzPicture(latex(transducers.GrayCode()),
tikzlibraries=['automata'])
> t.pdf()
> }}}
Works, thanks.
> I am still not sure about the proper way to choose the arguments for the
`__init__` function and their especially their default values. Should the
arguments be empty by default? equal to the current sage latex preamble?
or full of a big load of libraries?
Without much thinking, I vote for: The second, equal to the current sage
latex preamble.
--
Ticket URL: <http://trac.sagemath.org/ticket/20343#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.