MetPy icon indicating copy to clipboard operation
MetPy copied to clipboard

Jupyter Lab Completer not showing filtered `dir` for declarative

Open dcamron opened this issue 3 years ago • 2 comments

What went wrong?

jupyterlab 3.2.9
ipython 8.0.1

dir() behaving as-expected (and so tests passing), but I think some recent (and upcoming) Completer work in Jupyter Lab might affect the default completion behavior here. I'll look into it more next week.

image

Operating System

MacOS

Version

1.2.0

Python Version

3.10.2

Code to Reproduce

from metpy.plots import MapPanel

m = MapPanel()
m.<press Tab>

# contrast with
dir(m)

dcamron avatar Feb 11 '22 17:02 dcamron

Hrmmm, not reproducing for me here.

dopplershift avatar Feb 11 '22 20:02 dopplershift

In testing, it happens when Jupyter completes without an existing instance that's already been executed.

dopplershift avatar Mar 31 '22 16:03 dopplershift