I have been using ImageGrid to plot images with shapes like 20x40 and i noticed there was a lot of white space between them. I thought this was a bug and i was just about to report it, but i noticed that there is a parameter called aspect that can be set to be the same as the inputted images which solves the issue.
I think it would be a good idea to have this parameter be adjusted automatically instead of being 1 by default. Probably setting it to 'auto' and calculating it as the minimum of the ratio between length and width of all the images.
If this sounds good I can get to it and make a pull request.
I have been using ImageGrid to plot images with shapes like 20x40 and i noticed there was a lot of white space between them. I thought this was a bug and i was just about to report it, but i noticed that there is a parameter called
aspect
that can be set to be the same as the inputted images which solves the issue.I think it would be a good idea to have this parameter be adjusted automatically instead of being 1 by default. Probably setting it to
'auto'
and calculating it as the minimum of the ratio between length and width of all the images.If this sounds good I can get to it and make a pull request.