Changeset 7491:e44e4f75b420


Ignore:
Timestamp:
12/01/07 22:03:00 (5 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

Fix trac #799 -- tachyon texfunc issue -- and add some doctests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/plot/tachyon.py

    r7490 r7491  
    294294            sage: t.show() 
    295295        """ 
     296        type = int(type) 
     297        if type < 0 or type > 9: 
     298            raise ValueError, "type must be an integer between 0 and 9" 
    296299        return Texfunc(type,center,rotate,scale).str() 
    297300 
Note: See TracChangeset for help on using the changeset viewer.