I am running the example 1D_potential_barrier.py. In the function potential barrier, if set V0 to a negative value then the visualization of the potential isn't correct. For negative values of V0 the potential is -1 when it should be 0 and -2 when it should be the V0.
I think the issue lies in line 432 of the animate function.
I am running the example![image](https://github.com/quantum-visualizations/qmsolve/assets/1266712/b6375f30-be78-45df-85a6-74838efd0749)
1D_potential_barrier.py
. In the function potential barrier, if set V0 to a negative value then the visualization of the potential isn't correct. For negative values of V0 the potential is -1 when it should be 0 and -2 when it should be the V0.I think the issue lies in line 432 of the
animate
function.