Temperature dependent relativistic mean-field (RMF) plus BCS approach has been used for the first time to investigate the anti-bubble effect of the temperature and deformation in the light, medium-heavy and superheavy nuclei. Influence of temperature is studied on density distribution, charge form-factor, single particle (s.p.) energies, occupancy, deformation and the depletion fraction (DF). At T $=$ 0, the quenching effect of deformation is predominant. DF is found usually less in oblate deformation than in prolate. DF decreases with increasing prolate deformation even though the 2s-orbit is empty which shows the role of deformation in central depletion apart from the unoccupancy in s-orbit as is usually believed. As T increases, the occupancy of s-orbit increases, shell structure melts, the deformation vanishes and the weakening of central depletion is solely due to the temperature. The bubble effect is eliminated at T $approx$ 3$-$5 MeV as indicated by DF and the charge form factor. The temperature effect is found less prominent in superheavy bubble nuclei where the role of shell effects is indicated.