In QuTiP, it is possible to plot Wigner functions with positive (shown in blue) and negative (shown in red) values.
For example, the following code displays the Wigner function of a Schrodinger cat state :
import matplotlib.pyplot as plt
from qutip import plot_wigner, coherent
N, alpha = 20, 2
fig, ax = plot_wigner(coherent(N, alpha)+coherent(N, -alpha))
plt.show()
Output:
Would it be possible to invert the color bar to get positive values in red and negative ones in blue ?

