Ignore:
Timestamp:
03/26/12 15:49:47 (13 years ago)
Author:
neise
Message:
using math module instead of pylab ... 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/coor.py

    r13181 r13231  
    55import os.path
    66import numpy as np
    7 from pylab import *
     7import math
    88from euclid import *
    99
     
    4040        center = Vector2( 0. , 1./2.)
    4141        ey = Vector2( 0. , 1. )
    42         ex = Vector2( sqrt(3)/2. , 1./2. )
     42        ex = Vector2( math.sqrt(3)/2. , 1./2. )
    4343        self.center = ( center.x , center.y )
    4444        self.ey =  ( ey.x, ey.y)
Note: See TracChangeset for help on using the changeset viewer.