Remove Tag from Exposures by emanuel-schmid · Pull Request #756 · CLIMADA-project/climada_python
Then let's keep it as simple as can be: Users need to take care of formatting their descriptions. So I suggest we just do:
Suggested change
| title = (self.description.strip() if isinstance(self.description, str) else "" | |
| ) if title is None else title | |
| if title is None: | |
| title = self.description |
This should also work when description is None, ax.set_title(None) should have no (negative) effect.