I have a dataframe df with values from 0 to x (x is integer and no fixed value), in my example is x=10
I want to map the heatmap with cmap 'Reds', however where value 0 is should not be white but green '#009933'
import seaborn as sns # matplotlib inline
import random
data = []
for i in range(10):
data.append([random.randrange(0, 11, 1) for _ in range(10)])
df = pd.DataFrame(data)
fig, ax = plt.subplots(figsize = (12, 10))
# cmap = [????]
ax = sns.heatmap(df, cmap='Reds', linewidths = 0.005, annot = True, cbar=True)
plt.show()


