Question

The margins of my plots are unfortunatly too small for the Text i want to set there, 45* rotated:

enter image description here

How can i prevent the Labels for the datapoints from overlapping into the title? Would be best if it were computed, so i don"t have to manually adjust it. How can i remove all the whitespace around the graphs?

Was it helpful?

Solution

If you have an up to date matplotlib version, you can try using Tight Layout. Otherwise you will have to do it by hand with subplots_adjust.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top