|
From: Jonathan S. <js...@cf...> - 2013-05-08 14:03:26
|
Hi, I wrote a short routine to look through a set of images that result from slightly different processing of the same data. I want to compare three different images and be able to zoom them all in the same way and then move onto the next set of three. The best way that I've found to do that so far involves using mpl_toolkits.axes_grid1.ImageGrid. It all works fine. I found that to get the most image on screen at once, using the tight_layout=True argument to plt.figure gives excellent results. My one question is that I get the following warning: WARNING: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect. [matplotlib.figure] As I say, the results are good, so it's not really a problem, but I do wonder about the source of the warngin -- and whether re-using the code in a different way in the future could lead to problems. So, my question is: what is the problem pointed to by the warning and how could I avoid it (while still getting the same good results)? Regards, Jon -- ______________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA js...@cf... 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ______________________________________________________________ |