updated clippath and formatting functions for axes