0
import seaborn as sns
flights = sns.load_dataset("flights")
flights = flights.pivot("month", "year", "passengers")
ax = sns.heatmap(flights, annot=True, fmt="d")

Apart from the annotation added in the code above, I want to annotate specific grid cells in this heatmap. e.g. add a string hello in the second row third column. Is there a way to do this?

user308827
  • 21,227
  • 87
  • 254
  • 417

0 Answers0