Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to plot vertical and horizontal bars in different plots?

$
0
0

@sid100158 wrote:

I am currently trying to plot a bar plot of a series in ipython notebook
.
data = Series(np.random.rand(16), index=list('abcdefghijklmnop'))
data.plot(kind='bar', color='k', alpha=0.7)
data.plot(kind='barh', color='k', alpha=0.7) ## for plotting horizontal


I want to know how to plot them in a different plot.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles