Code
import ribasim_testmodels
import matplotlib.pyplot as plt
for model_name, model_constructor in ribasim_testmodels.constructors.items():
if model_name.startswith("invalid"):
continue
= model_constructor()
model = plt.subplots(figsize = (6, 4))
fig, ax
model.plot(ax)=model_name, loc="left")
ax.set_title(label0, 1, model_constructor.__doc__)
fig.text('off')
ax.axis(
plt.show() plt.close(fig)