How do I fit long title?
Here’s what I’ve finally used: #!/usr/bin/env python3 import matplotlib from matplotlib import pyplot as plt from textwrap import wrap data = range(5) fig = plt.figure() ax = fig.add_subplot(111) ax.plot(data, data) title = ax.set_title(“\n”.join(wrap(“Some really really long long long title I really really need – and just can’t – just can’t – make it any – … Read more