Be Colorful!!!

Seaborn.heatmap

Colormap(cmap) Examples

Seaborn Heatmap is used to visualize Numerical Data where each cell is colored based on the value it contains.
When we plot Seaborn Heatmap and want to make it colorful. then we often try out defferent inbuilt cmaps. Just see how they look and choose your cmap!
Check these Out :

Make necessary imports:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
Here we are creating dummy data to visualize heatmap as below(Changing cmap Gives the result as below):
df = pd.DataFrame(np.random.random((10,10)), columns=["a","b","c","d","e","f","g","h","i","j"])
customfontdict={'family': 'fantasy','color': 'blue', 'weight': 'bold','size':60}
plt.figure(figsize=(20,15),edgecolor='black')
sns_plot=sns.heatmap(df,cmap='Accent')
plt.title('Accent',fontdict=customfontdict,y=-0.01)

Find me on social media