Yes the interpolation had to be set to nearest or bicubic or bilinear for
it to function properly!!
Thanks a lot!!
Asma
On Thu, Mar 6, 2014 at 4:48 AM, Pierre Haessig wrote:
> Le 05/03/2014 22:37, Asma Riyaz a écrit :
>
> img= mpimg.imread('/home/asmariyaz/Desktop/mytree.png')
> phyl_ax
Le 05/03/2014 22:37, Asma Riyaz a écrit :
> img= mpimg.imread('/home/asmariyaz/Desktop/mytree.png')
> phyl_ax.imshow(img,interpolation='nearest')
Ok, so here you could try replace 'nearest' by 'bilinear' or 'bicubic'.
I believe those are the most common choices for image resampling
(because
On 2014/03/05 11:37 AM, Asma Riyaz wrote:
> Sorry I somehow forgot to paste the imshow call to plot the .png
> image(pasted the entire code again), I am trying the different
> interpolation parameters in the mean time as suggested by Pierre
>
> data=np.array(full_len)
> cmap = mpl.cm.hot
>
Sorry I somehow forgot to paste the imshow call to plot the .png
image(pasted the entire code again), I am trying the different
interpolation parameters in the mean time as suggested by Pierre
data=np.array(full_len)
cmap = mpl.cm.hot
if outlier==0:
threshold=1
else:
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',vm
Thank you for replying!!
The tree I generate is not based on clustering of matrices but rather on
sequence data and hence the tree generation is different in this case. I am
still looking into the seaborn project if it can lead me anywhere.
Thanks
Asma
On Wed, Mar 5, 2014 at 3:34 PM, Paul Hobso
Olga Botnivik is doing some work with these types of figures in her fork of
the seaborn project.
Example here: http://nbviewer.ipython.org/gist/olgabot/8341784
Link to the PR in github: https://github.com/mwaskom/seaborn/pull/73
Those might be a good place to start.
On Wed, Mar 5, 2014 at 12:19