fixes https://github.com/mbakker7/timml/issues/52
fixes https://github.com/mbakker7/timml/issues/52

Fixes https://github.com/mbakker7/timml/issues/52 which is related to bug https://github.com/matplotlib/matplotlib/issues/23303 in matplotlib. Once the bug in matplotlib is fixed, this should be modified again.

mbakker7/timml,mbakker7/timml