Re: [Kwant] Issue in display wave function in 3D lattice

2016-07-28 Thread Anton Akhmerov
Hi Liming, As far as I know, upgrading won't help: the bug is due to some changes in recent versions of matplotlib. As far as workarounds go, you could use the argument `pos_transform` of the plotter to map the 3D system into 2D instead of defining a different one. Or you can take a look at the

Re: [Kwant] Issue in display wave function in 3D lattice

2016-07-26 Thread L.M J
Hi Anton My matplotlib version is 1.5.1. Can I solve this problem by updating the matplotlib package? I came out another way to get around with this bug. I built a system that has same sites except it is 2-d. Then I plot the wavefunction calculated by 3-d on the 2-d system. It seems works, but

Re: [Kwant] Issue in display wave function in 3D lattice

2016-07-26 Thread Anton Akhmerov
Hi Liming, I believe this is related to a known outstanding bug: https://gitlab.kwant-project.org/kwant/kwant/issues/39 What version of matplotlib you are using? Best, Anton On Wed, Jul 20, 2016 at 2:58 AM, L.M J wrote: > Dear all > > I was trying to plot the