Hi Adel,

In matplotlib "figure" is the whole plottable area, while "axes" is a
part of that plottable area, where your stuff is plotted, see an
explanation for example here:
https://towardsdatascience.com/the-many-ways-to-call-axes-in-matplotlib-2667a7b06e06

Overall I recommend combining plots via creating a figure with
multiple axes, and then the axes size controls the plot size. Kwant
should be respecting the axes sizes that are provided to it.

Best,
Anton

On Fri, 29 Jan 2021 at 19:15, <abbout.a...@gmail.com> wrote:
>
> Dear All,
>
> I am trying to plot the density on top of the plot of the current. I use for 
> that "ax" to combine the two plots. I kind of noticed that the two plots do 
> not have the same size (although the system is the same!)
> I know that when "ax" is not None, "figsize" is disabled.
> Is there a way to fix the size of the two plots to be the same such that they 
> can be combined?
> Regards,
> Adel

Reply via email to