-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable using Perspective in Panel similarly to using Perspective in Jupyter #942
Comments
To put the expected effort into perspective :-) I co-contributed a widget for DeckGl to Panel. I had never tried it before. I needed to learn something about Bokeh Models and how they are implemented using TypeScript. Then I implemented the first version of the DeckGL widget. It took me ~10hours. The Philipp (BDFL of Panel) helped get all the details right and he worked very hard for a day or two. I also co-contributed two reference example notebooks to illustrate how the widget was used. Spend maybe 5 hours on this. |
@MarcSkovMadsen this has always been on our radar as @ceball and I work on the same team at JP Morgan. We will discuss priorities and respond here next week |
FYI. I've started adding support for the For more information see holoviz/panel#1122 (comment) |
Just for the record. The basic functionality for the It would support my use case for now based on this simple implementation. But I hope someone would take it to a higher level implementing this as a true Panel pane that supports all the functionality of the Perspective python package and fast data transfer including streaming. FYI. @timkpaine |
I've added the perspective-viewer to the awesome-panel-extensions Package so that it is available for all Panel users. Use it via I hope it will be moved to Panel in the next release. FYI. @timkpaine. Feel free to check it out. Any suggestions and comments are much appreciated. Its based on a Bokeh extension (typescript + python). https://github.com/MarcSkovMadsen/awesome-panel-extensions/blob/master/awesome_panel_extensions/bokeh_extensions/perspective_viewer.ts It could actually be made generally available in general to Bokeh users with a few steps like adding documenation and examples. I've announced it on the Bokeh discourse here https://discourse.bokeh.org/t/perspectiveviewer-extension/6204. Maybe someone shows interest one day. The Panel extension is here. There is a jupyter reference notebook as well. |
I see indications that some of the plugins support row selection and editing. But I've not been able to find any documention on this. Please provide links or information if possible. Then I could support this in the Panel widget. Thanks. |
Perspective has been available in Panel for a long time now. And its awesome. See https://panel.holoviz.org/reference/panes/Perspective.html I will close this one. |
My Pain
I (try to) develop awesome analytics apps in Python for traders at work and for fun and to share knowledge in my spare time. One of the python frameworks I enjoy using is Panel. See also awesome-panel.org that I'm developing.
I would really like to use Perspective in Panel and I also would like to that others have the opportunity as well.
But currently this is not supported.
Solution
Add a Perspective widget to Panel or alternatively add support for Panel to Perspective.
Additional info
Panel normally runs on top of the Bokeh Server but can also run on top of other Servers like Flask, Django and Voila.
To enable support in Panel you would start building a Bokeh model of Perspective
An alternative to a custom implementation for Panel is just to use the Perspective Jupyter version. Because soon all IPyWidgets can be used directly in Panel. But this is not as performant and powerfull (I believe) as a "native" Panel implementation.
There is already a feature request for Perspective in the Panel repo Add perspective widget holoviz/panel#1107
I added a feature request in the Perspective project because maybe there is some interest in this community and some of you might want to contribute interest, ideas, knowledge, support or actual code. Furthermore I just wanted to share the progress from Panel if any. I have a hope to be able to contribute something my self.
The text was updated successfully, but these errors were encountered: