Is there a way to automatically reduce the length of string in matplotlib if it conflicts with neighboring texts such as in:
What I'm looking for is if matplotlib detects a conflict with another text, it automatically reduce the texts in order for all the texts to be readable.
Note that one could of course rotate the labels or make the fontsize smaller to prevent overlap. But here I'm asking how to cut the text in case of overlap.