This project has moved and is read-only. For the latest updates, please go here.

completions missing in matplotlib.pyplot


fig = plt.figure(figsize=(6, 3.2))
ax = fig.

<no completions> even though we know the return type of figure


Zooba wrote Aug 9, 2014 at 3:04 AM

Actually, the problem is we don't know the return type because the docstring does not include a function spec. We should assume at least one overload exists if we don't have any better information.

Zooba wrote Aug 11, 2014 at 7:53 PM

We don't know the return type and the docstring is no help because figure is analysed from its source. We don't find the return type of figure because the path to get there (via the "current figure manager") is too convoluted for our analyzer.

Improving handling for this function or adding docstring scraping support are both too big for 2.1 at this stage.