Dear Luan, Can you upload the full script you're running? Are you using Jupyter Notebook? Also what version of Kwant and Matplotlib do you use?
Best, Rafal -- Rafał Skolasiński GitHub: https://github.com/RafalSkolasinski Kwant GitLab: https://gitlab.kwant-project.org/r-j-skolasinski On 16 October 2017 at 20:13, Luan Vieira de Castro < vieiradecastrol...@fisica.ufc.br> wrote: > Dear all, > > I am trying to plot the current density using the command: > kwant.plotter.current(syst, current, cmap = 'spectral_r',linecolor='black', > density = 0.5, colorbar = True). > However, when the figure is plotted, the colorbar doesn't appear. I know > that this is a simple matter, but can someone indicate to me what am I > doing wrong? > > Best Regards, > Luan >