0

I am using Python 3.6.7

Code:

import seaborn as sns
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
import seaborn as sns

matrix = pd.DataFrame(np.random.random_integers(0, 1, size=(50,4)))
g=sns.clustermap(matrix, col_cluster=False, linewidths=0.1, cmap='coolwarm')
plt.show()

Output:

enter image description here

Heights of the first and the last rows are clearly smaller than the rest. How to make all of them equal?

JohanC
  • 71,591
  • 8
  • 33
  • 66
Ahmed Abdullah
  • 305
  • 2
  • 11

0 Answers0