|
From: Pierre H. <pie...@cr...> - 2014-03-05 21:28:04
|
Hi Asma, Le 05/03/2014 21:19, Asma Riyaz a écrit : > I am trying to merge a heat map(matplotlib) with a tree(.png), but the > .png does not plot as needed or for that matter cannot be seen easily. > Here is my code: > > ####### CODE > [....] > img = ht_ax.imshow(data, cmap=cmap, > interpolation='none',vmax=threshold) > [....] > > How can I make the resolution of the .png image better OR for that > matter is there a better solution to merge these together? > I see the imshow call to plot the matrix but not the one you use to plot the png image. Could it be that the poor image rendering is due to a bad choice for the interpolation param ? best, Pierre |