Hiding ticks and labels with a specified value

Hi! Is it possible to hide ticks and labels with a specified value? Is it even possible iterate between the values? I need to modify two things of my plot:

The first one is that a label with 0h and another with 24h appear at the same place, so I wish to remove the second one.

Also, near to the celestial pole, the parallels are circular, so it’s possible that a value appears twice (because the circular parallel is cut in two points). I would like to remove duplicate labels.

How can I achieve this things? Thanks in advance! I’m posting an image for reference.

chart

I discovered how to remove the overlapping labels:

ax.coords[0].set_ticklabel(exclude_overlapping=True)
ax.coords[1].set_ticklabel(exclude_overlapping=True)