You have to in a way or another retrieve your figure object f
from show method.
B
constructorclass B:
def __init__(self, frame, figure):
self.figure = figure
...
def show(self, frame):
...
self.figure.plot( something )
class A:
def__init__(self, master):
...
sframe.fig = f
data_obj = B(sframe)
class B:
def show(self, frame):
...
frame.fig.plot( something )