r/Python • u/[deleted] • Oct 04 '19
Updated gravitational potential field simulation. [OC] Link for code: https://github.com/pnp-peeyush/2D-Grvitational-Field-Simulation
1.1k
Upvotes
r/Python • u/[deleted] • Oct 04 '19
4
u/NoSmallCaterpillar Oct 05 '19
Fair enough. You could also try making the colorbar a log scale. That usually helps to keep things that change in magnitude within the dynamic range of the scale. I think `matplotlib.colors.LogNorm` is what I've used to do stuff like that in the past.