#14798: Export graphics objects to PGF/TikZ
-------------------------------------+-------------------------------------
Reporter: etn40ff | Owner: jason, was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.4
Component: graphics | Resolution:
Keywords: matplotlib, plot, | Merged in:
TikZ, days49 | Reviewers:
Authors: Salvatore Stella | Work issues:
Report Upstream: N/A | Commit:
Branch: | 86f3f73a8b4f8ae2179e628834f32e0afa5e4036
public/ticket/14798 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by klee):
The cause of the second issue is explained in the Python doc about
`__del__` method, which is used in the class `LatexManager` in the
`.../lib/matplotlib/backends/backend_pgf.py` file. The method tries to
close temporary files whose list is kept in the class attribute
`_unclean_instances`, by calling `_cleanup(self)` method, which in turn
uses the `os.path` module. But as Sage is shutting down, the last module
is in state of being destroyed. Thus an exception raises (but ignored).
Simply speaking, the `__del__` method is doing too much at a critical
moment.
I don't know the appropriate way of dealing with this (bug?). Should it be
dealt in Sage or at upstream?
--
Ticket URL: <http://trac.sagemath.org/ticket/14798#comment:16>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.