I calculated the electron density of a molecule by a DFT software (Gaussian 16) with a standard setting in terms of the basis set and hybrid functional. After that calculation, I viewed the plot about the correspondence between the obtained electron density $\rho$ and the external potential $V$ by Coulomb (i.e., $V(r) = -\sum_{i=1}^{M} \frac{Z_i}{||r-R_i||}$, where $Z$ is the atomic number and $R$ is the atomic position) on some grid points $r$ in the molecule.
The Hohenberg-Kohn theorem shows the one-to-one correspondence between $\rho$ and $V$; however, my calculation result did not show it. The following figure shows that the same density values provided different potential values or the same potential values provided different density values.
My calculation might be wrong, but I have tried to calculate many times, and the result seems to be correct. Why did I get such a result that seems to contradict the Hohenberg-Kohn theorem?