I am trying to run the example of a heatmap from: https://matplotlib.org/stable/gallery/images_contours_and_fields/image_annotated_heatmap.html
When I am running the code in PyCharm (Professional) in an Anaconda3 environment it results in an error message.
TypeError: set_ticks() got an unexpected keyword argument 'labels'