You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make default astropy.table notebook repr jsview? (or just prettier?) #3937
It occurs to me that this is very similar to the existing Table.show_in_browser(jsviewer=True) functionality. Perhaps we should consider trying to make the notebook repr use the jsviewer mode?
Or alternatively, perhaps we should just inject some CSS to make the notebook-generated tables look a bit prettier?
That looks nice though--there's been a lot of progress, it seems, on being able to use interactive widgets to repr objects in the notebook, and something like this should be doable.
@embray - that's sounds intriguing. A slider that scrolled through the table could be good. Do you know of any specific projects or code that we might peek at to get a running start?
Now that I look, in the original work on the jsviewer @keflavich did try to make it work in IPython Notebook. However, in 934f830 the ability to actually invoke the IPyNB support through the Table.show_in_browser API was quietly revoked. I don't know if this was intentional on @keflavich's part, or just because it never quite worked or what. So the existing code is essentially dead code. Furthermore, it predates even IPython 2.0 and the widget interface. So we should get IPython/Jupyter support going again, but in the form of a widget.
@embray I can't say why I removed the if ipynb part of this... I think it might have just gotten lost in a refactor, and I don't really use notebooks much so I never noticed. I think using more modern ipython tricks is a good idea.
Activity
embray commentedon Jul 13, 2015
Let's not assign milestones unless there's something more concrete...
embray commentedon Jul 13, 2015
That looks nice though--there's been a lot of progress, it seems, on being able to use interactive widgets to repr objects in the notebook, and something like this should be doable.
taldcroft commentedon Jul 13, 2015
@embray - that's sounds intriguing. A slider that scrolled through the table could be good. Do you know of any specific projects or code that we might peek at to get a running start?
eteq commentedon Jul 14, 2015
👍 to the idea of something widgety as a way to make this even nicer.
For a project that has some pretty in-depth widgets you might want to check out https://github.com/mwcraig/reducer (possibly watch his talk at scipy to see examples of the widgets in action).
embray commentedon Aug 17, 2015
Now that I look, in the original work on the jsviewer @keflavich did try to make it work in IPython Notebook. However, in 934f830 the ability to actually invoke the IPyNB support through the
Table.show_in_browserAPI was quietly revoked. I don't know if this was intentional on @keflavich's part, or just because it never quite worked or what. So the existing code is essentially dead code. Furthermore, it predates even IPython 2.0 and the widget interface. So we should get IPython/Jupyter support going again, but in the form of a widget.keflavich commentedon Aug 17, 2015
@embray I can't say why I removed the
if ipynbpart of this... I think it might have just gotten lost in a refactor, and I don't really use notebooks much so I never noticed. I think using more modern ipython tricks is a good idea.Allow to show a table in the IPython notebook using dataTables.
Allow to show a table in the IPython notebook using dataTables.
Allow to show a table in the IPython notebook using dataTables.
Allow to show a table in the IPython notebook using dataTables.
Allow to show a table in the IPython notebook using dataTables.
pllim commentedon Feb 14, 2024
Given #15905 , this is no longer relevant.