Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

This is a general question on Python API documentation. How to find a method specification for **pylab.figure()**? I googled for a while and found a method(matplotlib.pyplot.figure) at: http://matplotlib.org/api/pyplot_api.html Is this method? I'm pretty sure there is better way to deal with it. Please let me know if there is a faster way to locate a method in Python Documentation. I'm watching 2011 CS600, Lecture 13.

OpenStudy (anonymous):

I think I know what you want. In python shell I typed: import pylab <-- imports pylab libraries assuming you have them dir(pylab) <--- gives you a list of pylab modules, 'figure' was there so I did help(pylab.figure) <-- tells me all about pylab.figure

OpenStudy (anonymous):

pylab is not part of the standard library the documentation for pylab, scipy and matplotlib can be found at matplotlib.org and scipy.org online Python 2.7.3 documentation is at docs.python.org if you are using windows the Python documentation will be installed on your computer and is very easy to use - F1 while in idle

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!