Variable Explorer already populated at start

49 views
Skip to first unread message

Stefano Piccinelli

unread,
Jul 7, 2020, 2:25:34 PM7/7/20
to spyder
Hello, since I updated spyder to 4.1.2 I get the Variable Explorer already populate at the launch with variable not related to any code I wrote (here attached).

The variable are the most different: dict, float, int, "core.numerictype._typedict"...

If I try to remove all variable the variables are actually not eliminated. I have to select them manually, right click, remove. And even this remove only 50+% of them.

If then I run my code (any) the variable disappear...to reappear next time I clear the Variable Explorer.

Any suggestion?


alreadyPopulateVariableExplorer.spydata

Bibeesh Y S

unread,
Jul 8, 2020, 9:46:45 PM7/8/20
to spyd...@googlegroups.com
Hi

Under preference>variable explore 

Check filter options to disable unwanted variables

Regards
Bibeesh

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/17728bb3-7914-43c5-8f2d-ff5bed72c1b3o%40googlegroups.com.

Mauricio Azálgara Bedoya

unread,
Jul 8, 2020, 9:46:45 PM7/8/20
to spyd...@googlegroups.com
By the way, version 4.1.3 is available; hence, you may uninstall the old version of Spyder and reinstall the new one.
In first instance, it would be expected to report the issue: (1) Click on Help tab; (2) Press 'Report issue''
Nonetheless, in my view, you may do one of the following things:
1. Regular path (See attachment): (1) Click on 'variable explorer' tab; (2) Click on 'Remove all variable' tab.
2. If (1) does not work, you may reinstall the software probably.
3. Check the Spyder documentation available at https://docs.spyder-ide.org/ (you can press F1 as well).
Regards,
aaa.png

piccine...@gmail.com

unread,
Jul 16, 2020, 12:00:06 AM7/16/20
to spyder
Thanks for your help. However, I have already tried the steps you recommend

>>Filtering out variable does not do the trick because my problem is not capitalised or UPPER case variable.
>>Removing variable removes only user-created variables and these are not.

I tried to re-install and noticed that at the beginning the variables are not there, however as soon as I add matplotlib I get: "Populating the interactive namespace from numpy and matplotlib" in the console at Spyder start, and the variables reappear.
If I reset the namespace (>>%reset) the variable are removed (until I re-boot Spyder) 

The question would be now how to avoid this to happen at all (if possible).

Cheers, Stefano

Aldo Raine

unread,
Jul 17, 2020, 11:37:42 AM7/17/20
to spyder
Under Tools/Preferences select 'IPython Console' then the 'Graphics' tab.   Uncheck "Automatically Load Pylab and NumPy modules" then restart Spyder.   You will see most of the stuff in variable explorer are gone.

piccine...@gmail.com

unread,
Jul 21, 2020, 1:05:58 PM7/21/20
to spyder
>>Under Tools/Preferences select 'IPython Console' then the 'Graphics' tab.   Uncheck "Automatically Load Pylab and NumPy modules" then restart Spyder.   You will see most of the stuff in variable explorer are gone.

Yes, that did the trick. Thank you very much 
Reply all
Reply to author
Forward
0 new messages