agermanidis/livepython

enhancement - expose dimensions of objects

johndpope opened this issue · 6 comments

https://github.com/spyder-ide/spyder/blob/master/img_src/screenshot.png

screen shot 2018-06-21 at 11 57 51 am

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

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

screen shot 2018-07-03 at 10 25 32 am

probably should use these colors instead

screen shot 2018-07-03 at 12 23 06 pm