def endPlot(self, layout, legend, path):
     title = path2str(path)
     r = ResultBlock(
         text="#$hv {}$#".format(title),
         title=title)
     r.hv = layout
     
     return ResultBlocks(r)