Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

lasso168

  • 2 years ago

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.

  • This Question is Open
  1. msmithhnova
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  2. bwCA
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.