import matplotlib import matplotlib.pyplot as plt class PlotData(object): """ Step 1: takes an object Step 2: plot y and x axes Step 3: return name """ def __init__(self, row, column): self.row = row self.column = column self.fname = fname def __repr__(self): s = plt.plot(self.row, self.column) return repr(s)