Waléria Antunes David, on 2011-02-22 16:17, wrote: > Hi Daniel, > > Yes, i tried import errorbar....i did this: import matplotlib.errobar , but > occurred an error: Exception Type: ImportError Exception Value: > > No module named errobar
Hi Waléria, there was a typo in Daniel's reply. The function is called errorbar, not errobar. For the object-oriented interface, you can find it attached to an Axes instance, or call the corresponding convenience function from the pyplot interface. import matplotlib.pyplot as plt # object-oriented interface ax = plt.subplot(1,1,1) ax.errorbar? # pyplot (matlab-like) interface plt.errorbar? As Daniel pointed out, the question mark will pull up the docstring if you're using IPython, but if you aren't, you can always call python's help. help(plt.errorbar) which will print the docstring for you. hope that helps, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users