X and Y axis ticks now fully work