4
The variable explorer shows the `globals()` namespace contents (i.e. all global
5
object references) of the current console: it supports both the :doc:`console`
6
(Python interpreter running in a remote process)
7
and the :doc:`internalconsole`.
9
.. image:: images/variableexplorer1.png
11
The following screenshots show some interesting features such as editing
12
lists, strings, dictionaries, NumPy arrays, or plotting/showing NumPy arrays
15
.. image:: images/listeditor.png
17
.. image:: images/texteditor.png
19
.. image:: images/dicteditor.png
21
.. image:: images/arrayeditor.png
23
.. image:: images/variableexplorer-plot.png
25
.. image:: images/variableexplorer-imshow.png
27
The default variable explorer configuration allows to browse global variables
28
without slowing the console even with very large NumPy arrays, lists or
29
dictionaries. The trick is to truncate values, to hide collection contents
30
(i.e. showing '<list @ address>' instead of list contents) and to *not* show
31
mininum and maximum values for NumPy arrays (see context menu options on the
32
screenshot at the top of this page).
34
However, most of the time, choosing the opposite options won't have too much
35
effect on console's performance:
37
.. image:: images/variableexplorer2.png
43
* :doc:`internalconsole`
4
The variable explorer shows the `globals()` namespace contents (i.e. all global
5
object references) of the current console: it supports both the :doc:`console`
6
(Python interpreter running in a remote process)
7
and the :doc:`internalconsole`.
9
.. image:: images/variableexplorer1.png
11
The following screenshots show some interesting features such as editing
12
lists, strings, dictionaries, NumPy arrays, or plotting/showing NumPy arrays
15
.. image:: images/listeditor.png
17
.. image:: images/texteditor.png
19
.. image:: images/dicteditor.png
21
.. image:: images/arrayeditor.png
23
.. image:: images/variableexplorer-plot.png
25
.. image:: images/variableexplorer-imshow.png
27
The default variable explorer configuration allows to browse global variables
28
without slowing the console even with very large NumPy arrays, lists or
29
dictionaries. The trick is to truncate values, to hide collection contents
30
(i.e. showing '<list @ address>' instead of list contents) and to *not* show
31
mininum and maximum values for NumPy arrays (see context menu options on the
32
screenshot at the top of this page).
34
However, most of the time, choosing the opposite options won't have too much
35
effect on console's performance:
37
.. image:: images/variableexplorer2.png
43
The variable explorer can't show all types of objects. The ones currently
44
supported are: integers, floats, complex, lists, dictionaries, tuples, strings,
45
`NumPy` arrays, `datetime` dates and `PIL/Pillow` images.
51
* :doc:`internalconsole`