#14594: Make dot2tex work with matplotlib 1.2.x (as well as older versions)
------------------------------------------+---------------------------------
       Reporter:  aschilling              |         Owner:  sage-combinat       
                                                          
           Type:  defect                  |        Status:  needs_info          
                                                          
       Priority:  critical                |     Milestone:  sage-5.10           
                                                          
      Component:  packages: optional      |    Resolution:                      
                                                          
       Keywords:  dot2tex spkg pyparsing  |   Work issues:  Update `SPKG.txt`, 
add `src/` to `.hgignore`, probably remove upstream history
Report Upstream:  N/A                     |     Reviewers:  Travis Scrimshaw    
                                                          
        Authors:  Leif Leonhardy          |     Merged in:                      
                                                          
   Dependencies:                          |      Stopgaps:                      
                                                          
------------------------------------------+---------------------------------

Comment (by aschilling):

 > It seems there are no dot2tex-optional tests in the documentation
 (`*.rst`):
 > {{{
 > Doctesting 3 files.
 > sage -t --long
 devel/sage/doc/en/thematic_tutorials/lie/affine_hw_crystals.rst
 >     [0 tests, 0.00 s]
 > sage -t --long
 devel/sage/doc/en/thematic_tutorials/lie/affine_finite_crystals.rst
 >     [0 tests, 0.02 s]
 > sage -t --long devel/sage/doc/en/thematic_tutorials/lie/crystals.rst
 >     [0 tests, 0.03 s]
 > ----------------------------------------------------------------------
 > All tests passed!
 > ----------------------------------------------------------------------
 > }}}
 > But, ooops, just noticed they're tagged `# optional - dot2tex
 graphviz`...[[BR]]
 > Same problem without adding `sage` to the `--optional` list:
 > {{{
 > ----------------------------------------------------------------------
 > sage -t --long
 devel/sage/doc/en/thematic_tutorials/lie/affine_hw_crystals.rst  # 2
 doctests failed
 > sage -t --long
 devel/sage/doc/en/thematic_tutorials/lie/affine_finite_crystals.rst  # 1
 doctest failed
 > sage -t --long devel/sage/doc/en/thematic_tutorials/lie/crystals.rst  #
 2 doctests failed
 > ----------------------------------------------------------------------
 > }}}
 > Again, with `--optional=dot2tex,graphviz,sage`:
 > {{{
 > Doctesting 3 files.
 > sage -t --long
 devel/sage/doc/en/thematic_tutorials/lie/affine_hw_crystals.rst
 >     [14 tests, 17.73 s]
 > sage -t --long
 devel/sage/doc/en/thematic_tutorials/lie/affine_finite_crystals.rst
 >     [97 tests, 22.79 s]
 > sage -t --long devel/sage/doc/en/thematic_tutorials/lie/crystals.rst
 >     [116 tests, 45.62 s]
 > ----------------------------------------------------------------------
 > All tests passed!
 > ----------------------------------------------------------------------
 > }}}
 > ... but I also get five pop-up windows showing `sage.pdf`! XD
 >

 Leif, thanks for the report! Are you saying that the tags in the code are
 wrong? The view commands in the code make the pdf files, but they are
 supposed to show pictures (not just `sage.pdf`).

 Best,

 Anne

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14594#comment:31>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to