How do I plot these using matplotlib or pandas' plot?
I've tried this btw:
topic_count.plot.bar(stacked=True)
Which outputs :
<matplotlib.axes._subplots.AxesSubplot at 0x118bdfeb8>
and nothing else, I am not seeing a plot. please help
How do I plot these using matplotlib or pandas' plot?
I've tried this btw:
topic_count.plot.bar(stacked=True)
Which outputs :
<matplotlib.axes._subplots.AxesSubplot at 0x118bdfeb8>
and nothing else, I am not seeing a plot. please help
Crude example with matplotlib:
import matplotlib.pyplot as plt
foo = [1, 2]
plt.plot(foo)
plt.show()
And this should show you something like this: Plot result
Some references:
to see the figure
1.you may install IPython(just like Python stand IDE but stronger)
2.launch IPython in terminal like this:ipython --pylab
3.type topic_count.plot.bar(stacked=True)
you could see the picture