Python matplotlib: How can I draw an errorbar graph without lines and points?
<p>I am currently using the following code to plot errorbar graphs.</p>

<pre><code>plt.errorbar(log_I_mean_, log_V2_mean_, xerr, yerr, '.')
</code></pre>

<p>However the end result shows a circular point in the centre of each errorbar intersection point. How can I plot just the errorbars without the central point, as is required in scientific work?</p>

<p>use <code>'none'</code> instead of <code>'.'</code>:</p>

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

x = np.arange(0.1, 4, 0.5)
y = np.exp(-x)

yerr = 0.1 + 0.2*np.sqrt(x)
xerr = 0.1 + yerr

plt.figure()
plt.errorbar(x, y, 0.2, 0.4,'none')
plt.title("Simplest errorbars, 0.2 in x, 0.4 in y")
</code></pre>

<p>result: </p>

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

<p>P.S. this is slightly modified version of part of the example of pylab <a href="http://matplotlib.org/1.2.1/examples/pylab_examples/errorbar_demo.html" rel="nofollow">here</a></p>

python matplotlib