doc: fixes generation of figures in Doxygen documentation