remove un-used elements for y-axes