Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plot matrix as heatmap

>>> import numpy as np; np.random.seed(0)
>>> import seaborn as sns; sns.set_theme()
>>> uniform_data = np.random.rand(10, 12)
>>> ax = sns.heatmap(uniform_data)
Source by seaborn.pydata.org #
 
PREVIOUS NEXT
Tagged: #plot #matrix #heatmap
ADD COMMENT
Topic
Name
1+6 =