How the generate this specific chart in Python / Matplotlib
<p>I need to plot this specific chart in Python, or at least come very close to it, see the picture. I prefer to use the Matplotlib package and I already tried to a great extend but didn't came close enough. If I need another package for this then I am ok with that. </p>

<p><a href="http://i.stack.imgur.com/dGJ64.png" rel="nofollow"><img src="http://i.stack.imgur.com/dGJ64.png" alt="enter image description here"></a></p>

<p>Well, this is an attempt for an answer, unfortunately it is not categorical. </p>

<pre><code>import matplotlib.pyplot as plt

# example data
x = (1, 2, 3, 4)
y = (1, 2, 3, 4)

# example variable error bar values
yerr = [[0.2, 0.1, 0.5, 0.35], [0.7, 0.7, 0.3, 0.2]]

plt.figure()
plt.errorbar(x, y, yerr=yerr, fmt="r^")
plt.show()
</code></pre>

<p>Will generate this picture:
<a href="http://i.stack.imgur.com/5Hn4V.png" rel="nofollow"><img src="http://i.stack.imgur.com/5Hn4V.png" alt="Output picture"></a></p>

python matplotlib charts