#10699: Misc improvements to the code of sage/combinat/e_one_star.py
-----------------------------+----------------------------------------------
Reporter: slabbe | Owner: slabbe, tjolivet
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.6.2
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Description changed by tjolivet:
Old description:
> The file e_one_star.py was merged recently into sage. After using it a
> bit for my research, there are some small improvements that I suggest:
>
> - Add extra_code_before and extra_code_after arguments to the plot_tikz
> method.
> - Macros don't work when using sagetex. Remove the macros loza, lozb,
> lozc: just print the plain tikz code.
> - ...
> - Timo : add yours here ...
New description:
The file e_one_star.py was merged recently into sage. After using it a bit
for our research, we suggest the following improvements:
* Add `extra_code_before` and `extra_code_after` arguments to the
`plot_tikz` method.
* Macros don't work when using sagetex. Remove the macros loza, lozb,
lozc: just print the plain tikz code.
* Allow the options `iterations=0` in the `__call__` method of `E1Star`.
* Be able to plot patches made of unit segments (discrete lines).
* Add the Patch method `.occurences_in` which returns the positions at
which a patch appears in an other patch.
* Change the default color map for the `.repaint` method (it's just
nicer).
* Add the `.faces_of_vector` method for `Patch`.
* Fix a small bug: allow the type of a face and of the letters of a
substitution to be `int`, and not only `Integer`.
* Some other small fixes and documentation details.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10699#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.