Colorbar doesn't appear in kwant.plotter.Current
When I run the following code:
sys = make_system(tp = 0) sys = sys.finalized() wf = kwant.wave_function(sys, energy=0.597506) psi = wf(0)[0] J = kwant.operator.Current(sys) current = J(psi) kwant.plotter.current(syst, current, cmap = 'spectral_r',linecolor='black', density = 0.5, colorbar = True)
The color bar doesn't appear in the graph generated. I am using Kwant version 1.3.1 and Matplotlib version 1.5.1.