enhancement - expose dimensions of objects
johndpope opened this issue · 6 comments
https://github.com/spyder-ide/spyder/blob/master/img_src/screenshot.png
It would be good if we could tweak this by one other thing - which is the dimensions / size of the array if the object in question responds to this.
found this python we maybe able to cherry pick to handle sizes
https://github.com/nikitakit/hydrogen-python/blob/master/py/install_kernel_plugin.py
got this working / drafted.
https://gist.github.com/johndpope/21e828eede7dc564b07112df3401054b
might be good idea to color code the types as per spyder ide above.
eg. strings -> red
lists -> yellow
will take another crack when I get to it.
updates
https://gist.github.com/johndpope/21e828eede7dc564b07112df3401054b
(this branch includes tensorflow stuff - I want to capture the graph at run time )
https://github.com/johndpope/livepython