Inline function for writing html for other figures

This fixes plotting html pages for other figures (namely fixed grids).