Unify rendering code into the new render() function
A new aafigure.render() function is added to simplify figure rendering and avoid code duplication. Now the command-line tool and the reST directive both use the render() function to do the actual rendering.
This greatly simplify the usage of the aafigure module from external modules (like a sphinx extension I'm working on =).
Log in to post a comment.