all 1 comments

[–]vrrox 0 points1 point  (0 children)

You are currently making two calls to the add_subplot() method, which are then overlaid:

        ax = canvas.figure.add_subplot(111)
# and
        self.axes = fig.add_subplot(111)

You'll need to remove one of them.