i am quite new to pandas plot facilities, in the doc, the following command is really handy:
myplot = rts.ret.hist(bins=50, by=rts.primary_mic)
however, the problems comes when i try to get a figure reference from the plot and save it:
myfigure = myplot.get_figure()
AttributeError: 'numpy.ndarray' object has no attribute 'get_figure'
what I understand is, rts.ret.hist(bins=50) returns a plot object, while rts.ret.hist(bins=50 returns an array object.
how should I save my figure in this case?
any clue?
thanks!