updated for python3 compatibility

pull/63/head
Andy Port 2018-08-21 20:07:53 -07:00
parent 40a515ee63
commit ee5ab1813b
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ easily be generalized to paths containing `Line` and `QuadraticBezier` objects
also.
Note: The relevant matrix transformation for quadratics can be found in the
svgpathtools.bezier module."""
from __future__ import print_function
import numpy as np
from svgpathtools import *
@ -53,4 +53,4 @@ if __name__ == '__main__':
pts = points_in_each_seg(testpath, tvals)
pts_check = points_in_each_seg_slow(testpath, tvals)
print np.max(pts - pts_check)
print(np.max(pts - pts_check))