cyrinepersonne
cyrinepersonne

Reputation: 99

Change the width of the plot

I create a bar plot with python :

df['market_sub_segment'].value_counts().plot.bar(title="Freq dist of sub_market_segment")

My question is how to make the plot bigger?

Thanks

Upvotes: 0

Views: 27

Answers (1)

The Weckness
The Weckness

Reputation: 111

You can use figsize:

df.plot(figsize=(15,2));

From the docs: "figsize : a tuple (width, height) in inches"

Upvotes: 1

Related Questions