dipc-cc / hubbard

Python tools for mean-field Hubbard models
https://dipc-cc.github.io/hubbard/
GNU Lesser General Public License v3.0
21 stars 8 forks source link

Feature request: symmetric range as default in hubbard.plot.SpinPolarization #117

Closed NikFriedrich closed 2 years ago

NikFriedrich commented 2 years ago

In plot.py GeometryPlot.__orbitals__ the code does not default to a symmetric colorscale, like in __realspace__. It would be very helpful to add this check.

sofiasanz commented 2 years ago

Hi @NikFriedrich thanks for the suggestion! I think this symmetric colorscale makes only sense for the cases of SpinPolarization and ChargeDifference plots, which I can easily add. I think is a good idea, what do you think @tfrederiksen?

tfrederiksen commented 2 years ago

Sounds good to me!

sofiasanz commented 2 years ago

Done!

sofiasanz commented 2 years ago

I'll close this issue then :)