예제 #1
0
 def imshow(self, key):
     """Show item's image"""
     data = self.model.get_data()
     import spyderlib.pyplot as plt
     plt.figure()
     plt.imshow(data[key])
     plt.show()
예제 #2
0
 def plot(self, key):
     """Plot item"""
     data = self.model.get_data()
     import spyderlib.pyplot as plt
     plt.figure()
     plt.plot(data[key])
     plt.show()