pyiron.base.generic.jedi module

pyiron.base.generic.jedi.fix_ipython_autocomplete(enable=True)[source]

Change autocomplete behavior for IPython > 6.x

enablebool (default True)

Is use the trick.

Notes

Since IPython > 6.x the jedi package is using for autocomplete by default. But in some cases, the autocomplete doesn’t work correctly wrong (see e.g. here).

To set the correct behaviour we should use in IPython environment:

%config Completer.use_jedi = False

or add to IPython config (<HOME>\.ipython\profile_default\ipython_config.py):

c.Completer.use_jedi = False