[IPython-dev] Getting the size of ipython notebook cell

bjonen bjonen at gmail.com
Tue Jul 8 10:10:55 EDT 2014


I see, that's an interesting idea.  So I guess one way to get this to work
would be to perform the truncation using javascript depending on the screen
size information gathered from @media screen. 

Right now, pandas returns the html code for the table, as such: 
 u'<div style="max-height:1000px;max-width:1500px;overflow:auto;">\n
\n  \n    
\n      	\n   
....

Could we simply prepend a <script> block with the necessary javascript? 



--
View this message in context: http://python.6.x6.nabble.com/Getting-the-size-of-ipython-notebook-cell-tp5063264p5063400.html
Sent from the IPython - Development mailing list archive at Nabble.com.



More information about the IPython-dev mailing list