disable axes when appropriate