def dotplot(self, other): # , REQUEST=None): """Compare this assignment to another one. Using a dotplot. """ vis = PlagVisualizer() image = vis.stringsToDotplot( str(self.getFile()), str(other.getFile()), id1=self.pretty_title_or_id(), id2=other.pretty_title_or_id(), showIdNums=True, ) return image