Change number format of confusion matrix
Add fmt = ".1f" parameter in sns.heatmap().

You can rewrite your code as follows to get all numbers in scientific format.

sns.heatmap(cm,annot=True, fmt=".1f")


Refer this link for additional customization.