Hi Alexandre, I think your best bet is to use tikzplotlib with Kwant plots. Kwant plotting functions create pyplot figures, so that should work.
Best, Anton On Sat, 19 Oct 2019 at 18:59, <aheucha...@student.uliege.be> wrote: > > Hello, > > > > My name is Alexandre and I would like to know if the file produced by the line > > figLattice = kwant.plot( sys, file = 'test.pdf' ) > > could give the corresponding plot in .tex file (the same way as tikzplotlib > works) so that it can be plotted using tikzpicture for example ? > > If not, is there a way to get rid of all the "useless" white space around the > figure ? > > > > Thank you and have a good day, > Alexandre