clean up axes drawing code before complete rewrite