def getPlot(self, params):
    df = self.getData(params)
    plt_obj = df.set_index('Date').drop(['volume'], axis=1).plot()
    plt_obj.set_ylabel('Price')
    fig = plt_obj.get_figure()
    return fig
def getPlot(self, params):
    df = self.getData(params)
    plt_obj = df.set_index('Date').drop(['volume'], axis=1).plot()
    plt_obj.set_ylabel('Price')
    fig = plt_obj.get_figure()
    return fig