#16228: make tachyon respect standard verbosity settings
-------------------------------------+-------------------------------------
       Reporter:  niles              |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  graphics           |   Resolution:
       Keywords:  tachyon, verbose,  |    Merged in:
  beginner                           |    Reviewers:
        Authors:  Paul Graham        |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  8246af4a1ae7ee9fa6656ba0f7fa8e39bc7daa29
  u/paulgraham5/make_tachyon_respect_standard_verbosity_settings|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by paulgraham5):

 Replying to [comment:7 dimpase]:
 > Can you provide doctests illustrating the effects of setting
 `sage.misc.misc.set_verbose` ?
 >
 > (don't forget to set `sage.misc.misc.set_verbose` back to its original
 value in such a doctest)

 Okay. How do you normally go about creating doctests? I haven’t done that
 before. From reading http://www.sagemath.org/doc/developer/doctesting.html
 #beyond-the-sage-library , i gather that, like in the examples section of
 a function definition eg:


 {{{
         r"""
         Creates a PNG file of the scene.

         EXAMPLES::

             sage: q = Tachyon()
             sage: q.light((-1,-1,10), 1,(1,1,1))
             sage: q.texture('s')
             sage: q.sphere((0,0,0),1,'s')
             sage: q.show(verbose=2)
         """
 }}}

 I put these further examples in this section, then run $ ./sage -t
 src/sage/plot/plot3d/tachyon.py ?
 Or Are you referring to another method? :)

--
Ticket URL: <http://trac.sagemath.org/ticket/16228#comment:9>
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.

Reply via email to