how to set width on seaborn barplot
<p>I would like to set the width of each bar on the barplot based on the number of times the column <code>chrom</code> has a particular value.
I am setting width bars to be a list of occurrences:</p>

<pre><code>list_counts =  plot_data.groupby('chrom')['gene'].count()

widthbars = list_counts.tolist()
</code></pre>

<p>Plotting the barplot as:</p>

<pre><code>ax = sns.barplot(x = plot_data['chrom'], y = plot_data['dummy'], width=widthbars)
</code></pre>

<p>This gives me an error:</p>

<pre><code>TypeError: bar() got multiple values for keyword argument 'width'
</code></pre>

<p>Is the width variable being set somewhere implicitly?
How do I get the widths of each bar to be different?</p>