update numpy_ext for py3k
add figure tests