removed self.fig assignments, they cause trouble when you try to deepcopy class objects