Rspamd graphs not working

Hi,

For some reason the graphs are not working for the rspamd plugin. It monitors rspamd just fine, but all the graphs seem to crash. Looks something like this:
rspamd error

It’s no major issue, more an annoyance. So if someone knows how to fix this, that would be great.