I have a heatmap with long y tick labels. I would like to align them all to the left.
Here is a picture of what I have:
Here is the image of how I would like it to be:
I found this page, which does exactly what I wanted, but that is not working for me. When I try to use ax.axis["left"].major_ticklabels.set_ha("left")
I get an error.
I also found this stackoverflow question, but the output is coming out like this: