- ---------------------------------------------------------------------------
- TypeError Traceback (most recent call last)
- <ipython-input-54-e9ca8083075b> in <module>()
- 13
- 14 # Plot the clustermap in the other subplot
- ---> 15 cax = sns.clustermap(idf, col_cluster=False, row_cluster=True, ax=ax2)
- 16
- 17 # I tried to change the axis from the clustermap to subplot axis
- /usr/local/lib/python2.7/dist-packages/seaborn/matrix.pyc in clustermap(data, pivot_kws, method, metric, z_score, standard_scale, figsize, cbar_kws, row_cluster, col_cluster, row_linkage, col_linkage, row_colors, col_colors, mask, **kwargs)
- 1137 row_cluster=row_cluster, col_cluster=col_cluster,
- 1138 row_linkage=row_linkage, col_linkage=col_linkage,
- -> 1139 **kwargs)
- /usr/local/lib/python2.7/dist-packages/seaborn/matrix.pyc in plot(self, metric, method, colorbar_kws, row_cluster, col_cluster, row_linkage, col_linkage, **kws)
- 987
- 988 self.plot_colors(xind, yind, **kws)
- --> 989 self.plot_matrix(colorbar_kws, xind, yind, **kws)
- 990 return self
- 991
- /usr/local/lib/python2.7/dist-packages/seaborn/matrix.pyc in plot_matrix(self, colorbar_kws, xind, yind, **kws)
- 968 heatmap(self.data2d, ax=self.ax_heatmap, cbar_ax=self.cax,
- 969 cbar_kws=colorbar_kws, mask=self.mask,
- --> 970 xticklabels=xtl, yticklabels=ytl, **kws)
- 971 self.ax_heatmap.yaxis.set_ticks_position('right')
- 972 self.ax_heatmap.yaxis.set_label_position('right')
- TypeError: heatmap() got multiple values for keyword argument 'ax'