issue_comments
35 rows where issue = 552500673 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Feature Proposal: `xarray.interactive` module · 35 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1141918180 | https://github.com/pydata/xarray/issues/3709#issuecomment-1141918180 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X85EEEnk | nvaytet 39047984 | 2022-05-31T09:49:34Z | 2022-05-31T09:49:34Z | NONE | Great, I'll look at that implementation. Thanks! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
1141015434 | https://github.com/pydata/xarray/issues/3709#issuecomment-1141015434 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X85EAoOK | philippjfr 1550771 | 2022-05-30T11:01:35Z | 2022-05-30T11:01:35Z | NONE | We'd probably have to write a so called HoloViews |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
1140981828 | https://github.com/pydata/xarray/issues/3709#issuecomment-1140981828 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X85EAgBE | nvaytet 39047984 | 2022-05-30T10:25:21Z | 2022-05-30T10:25:21Z | NONE | Just been sent a link to this discussion after having worked on something very similar for our project (which resembles Xarray in many ways): https://github.com/scipp/scipp/pull/2573
I am now wondering if we could somehow use the @philippjfr how much work would it be to implement an |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
1016113078 | https://github.com/pydata/xarray/issues/3709#issuecomment-1016113078 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X848kKe2 | MarcSkovMadsen 42288570 | 2022-01-19T06:03:03Z | 2022-01-19T06:03:42Z | NONE | Sophia Yang and I wrote a blog post about hvplot interactive. It's based on Pandas dataframes but it works the same way for Xarray. Check it out https://towardsdatascience.com/the-easiest-way-to-create-an-interactive-dashboard-in-python-77440f2511d1 You can also find the repo and links to binder+colab here https://github.com/sophiamyang/hvplot_interactive |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
962238124 | https://github.com/pydata/xarray/issues/3709#issuecomment-962238124 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X845Wpas | MarcSkovMadsen 42288570 | 2021-11-05T21:40:04Z | 2021-11-05T21:40:04Z | NONE | I meant to at this link to the PyData Talk on .interactive including video https://discourse.holoviz.org/t/pydata-2021-build-polished-data-driven-applications-directly-from-your-pandas-or-xarray-pipelines/3017/4 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
962150839 | https://github.com/pydata/xarray/issues/3709#issuecomment-962150839 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X845WUG3 | jbednar 1695496 | 2021-11-05T19:14:45Z | 2021-11-05T19:14:45Z | CONTRIBUTOR | I'm not sure if this link will expire, but until it's on youtube, you can watch the talk at https://zoom.us/rec/play/DzaWjz_hMBP23Vqv7T5jPcY1zU4fps2ZL-yAi8MyM5-lbYq-ZQS4ejWMzwxRW53vGu2F1DybYiKSb8M.mYwmkdDSK6ECc8Ux?startTime=1635508803000&_x_zm_rtaid=hMxhM6kwS-ae1hLStT7UXA.1635955310424.1ade0b45b8e3297ff743d3acc0aa08e1&_x_zm_rhtaid=397 |
{ "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
962130417 | https://github.com/pydata/xarray/issues/3709#issuecomment-962130417 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X845WPHx | TomNicholas 35968931 | 2021-11-05T18:42:00Z | 2021-11-05T18:42:00Z | MEMBER |
Oh awesome! Can I watch this talk anywhere? That link just seems to have a summary. |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
962121849 | https://github.com/pydata/xarray/issues/3709#issuecomment-962121849 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X845WNB5 | MarcSkovMadsen 42288570 | 2021-11-05T18:28:30Z | 2021-11-05T18:28:58Z | NONE | Just for completeness. You can find @philippjfr PyData 2021 Inspired by that I've created a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
889249897 | https://github.com/pydata/xarray/issues/3709#issuecomment-889249897 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X841AOBp | TomNicholas 35968931 | 2021-07-29T15:37:20Z | 2021-07-29T15:37:20Z | MEMBER | @jbednar that all looks amazing! Can't wait to properly try it out. Given that much of what I imagined is now available in holoviews, I will close this issue now. But if you would like to raise a PR pointing towards this functionality somewhere in xarray's docs (maybe either as a more detailed description in the Ecosystem page or as a note in the plotting page of the user guide) then that would be welcome! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
888642498 | https://github.com/pydata/xarray/issues/3709#issuecomment-888642498 | https://api.github.com/repos/pydata/xarray/issues/3709 | IC_kwDOAMm_X84095vC | jbednar 1695496 | 2021-07-28T21:45:51Z | 2021-07-28T21:45:51Z | CONTRIBUTOR | Update: hvPlot's .interactive support has been greatly improved and expanded in the new hvPlot 0.7.3 release. It is now showcased at holoviz.org, which introduces how to use hvPlot to build plots, then how to use xarray .interactive and pandas .interactive to add widgets (whether to hvPlot plots or to anything else, including .plot output or tables or xarray reprs). There are still plenty of improvements to make, but apart from documenting .interactive in xarray's docs, I would think this issue can now be closed. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
747097516 | https://github.com/pydata/xarray/issues/3709#issuecomment-747097516 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDc0NzA5NzUxNg== | jbednar 1695496 | 2020-12-16T23:14:48Z | 2020-12-16T23:14:48Z | CONTRIBUTOR | hvPlot's .interactive() support for xarray and pandas was released in in hvPlot 0.7.0 (installable with There are a few things I think we can still improve (listed at https://github.com/holoviz/panel/issues/1824, https://github.com/holoviz/panel/issues/1826, https://github.com/holoviz/hvplot/issues/531, https://github.com/holoviz/hvplot/issues/533), but it's already really fun to use -- just take your xarray or pandas pipeline You can use this with the native |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
619763437 | https://github.com/pydata/xarray/issues/3709#issuecomment-619763437 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxOTc2MzQzNw== | StanczakDominik 11289391 | 2020-04-27T06:42:12Z | 2020-04-27T06:42:12Z | CONTRIBUTOR | That's amazing. This would single-handedly turn xarray from "nice to have, pretty useful" to "I recommend it to all my friends". I would absolutely love to be able to use it. |
{ "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
619591369 | https://github.com/pydata/xarray/issues/3709#issuecomment-619591369 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxOTU5MTM2OQ== | max-sixty 5635139 | 2020-04-26T17:32:59Z | 2020-04-26T17:32:59Z | MEMBER | This is very cool, nice work @philippjfr ! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
619522107 | https://github.com/pydata/xarray/issues/3709#issuecomment-619522107 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxOTUyMjEwNw== | TomNicholas 35968931 | 2020-04-26T10:05:15Z | 2020-04-26T10:05:15Z | MEMBER | @philippjfr that looks incredible! The accessor syntax is exactly what I was imagining too, great job.
I would love to have a go, plus I had a few other ideas I would like to try out - is there a branch somewhere I could check out to get it going locally? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
619479882 | https://github.com/pydata/xarray/issues/3709#issuecomment-619479882 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxOTQ3OTg4Mg== | jbednar 1695496 | 2020-04-26T04:27:54Z | 2020-04-26T04:27:54Z | CONTRIBUTOR | That is so cool! I think the syntax is already as good as I can imagine. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
619318420 | https://github.com/pydata/xarray/issues/3709#issuecomment-619318420 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxOTMxODQyMA== | philippjfr 1550771 | 2020-04-25T04:27:14Z | 2020-04-25T04:27:14Z | NONE | @TomNicholas I've been playing around with an |
{ "total_count": 9, "+1": 0, "-1": 0, "laugh": 0, "hooray": 9, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
610608787 | https://github.com/pydata/xarray/issues/3709#issuecomment-610608787 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxMDYwODc4Nw== | TomNicholas 35968931 | 2020-04-07T20:39:38Z | 2020-04-07T20:39:38Z | MEMBER | This looks absolutely great @philippjfr ! I would be keen to help you and @jbednar with making the syntax as intuitive and familiar as possible for xarray users. If you have any relevant issues/PR's in holoviews or here then please tag me :) |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
610588306 | https://github.com/pydata/xarray/issues/3709#issuecomment-610588306 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxMDU4ODMwNg== | jbednar 1695496 | 2020-04-07T19:53:59Z | 2020-04-07T19:53:59Z | CONTRIBUTOR | Thanks, @philippjfr! What Philipp outlines above addresses the key limitation that I pointed out previously:
As of HoloViews release 1.13.2 that limitation is now completely gone, because a HoloViews interactive operation pipeline can now invoke arbitrary Xarray or Pandas API calls. So you're no longer limited to what has been encapsulated in HoloViews, and you can use the native Xarray method syntax that you're used to. Thus it's now possible to achieve most (all?) of the functionality discussed above, i.e. easily constructing arbitrarily deep Xarray-method pipelines with interactive widgets controlling any step along the way, replaying only that portion of the pipeline when that widget is changed. So, what's left? As Philipp suggests, we can make the syntax for working with this functionality simpler in hvPlot. At that point we should probably show the syntax required for each of the interactive pipelines demonstrated or suggested in this issue, and see if there's any change to Xarray that would help make the syntax easier or more natural for Xarray users. Either way, the power is now there already! |
{ "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
610341352 | https://github.com/pydata/xarray/issues/3709#issuecomment-610341352 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDYxMDM0MTM1Mg== | philippjfr 1550771 | 2020-04-07T11:50:30Z | 2020-04-07T11:50:56Z | NONE | Having taken the ideas presented here as inspiration the latest HoloViews release actually extends what we had described above and provides the capability to use arbitrary xarray methods to transform the data and control the parameters of those transforms using Panel based widgets. The HoloViews docs show one such example built on xarray which is built around so call ```python import panel as pn import xarray as xr air_temp = xr.tutorial.load_dataset('air_temperature') We declare a dim expression which uses the
|
{ "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577772787 | https://github.com/pydata/xarray/issues/3709#issuecomment-577772787 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3Nzc3Mjc4Nw== | jbednar 1695496 | 2020-01-23T16:58:45Z | 2020-01-23T20:09:35Z | CONTRIBUTOR |
On the one hand, yes, HoloViews + Panel is quite powerful and clean for what it can already do. But just so everyone is on the same page, the workflow @philippjfr shows above is only possible for the operations that HoloViews has implemented internally. The operations available in HoloViews are only a small subset of what can be done with the native Xarray or Pandas APIs, and adding new capability like that to HoloViews is difficult because HoloViews supports many different underlying data formats (lists, dictionaries, NumPy, Pandas, Xarray, etc.). So while there are advantages to what's already available in HoloViews:
there are also major disadvantages:
Note that hvPlot injects the plotting capability from HoloViews into Xarray and Pandas, letting you use the native data APIs for plotting, but it doesn't give you the control over lazy/interactive/reactive pipelines that HoloViews' native API offers. So to me what this issue's proposal would entail is taking the idea of hvPlot further, making Xarray (and Pandas) natively act like HoloViews already does -- with lazy operations where interactive controls can be inserted at every stage, letting people stay in their preferred rich, native data API while having the power to easily make anything interactive and to easily make anything visualizable. |
{ "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577692145 | https://github.com/pydata/xarray/issues/3709#issuecomment-577692145 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NzY5MjE0NQ== | philippjfr 1550771 | 2020-01-23T13:57:16Z | 2020-01-23T13:57:16Z | NONE |
Maybe wait until early next week when I anticipate new Panel and HoloViews releases to be out which smooth out some issues with these workflows. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577690923 | https://github.com/pydata/xarray/issues/3709#issuecomment-577690923 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NzY5MDkyMw== | TomNicholas 35968931 | 2020-01-23T13:53:55Z | 2020-01-23T13:53:55Z | MEMBER |
Thanks @jbednar , I think that's a good summary of most of what I was imagining.
Yes exactly. There will be a lot of users who do their work in xarray and being able to achieve interactivity in their existing workflows with almost exactly the same API would improve their experience without presenting much of a barrier to adoption. Thanks for the (impressive) example @philippjfr !
I was imagining that functions/methods following the I didn't appreciate exactly how much of this panels/holoviews can already do - I think I need to go away and experiment with using/wrapping them but aiming for an xarray-like syntax. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577680001 | https://github.com/pydata/xarray/issues/3709#issuecomment-577680001 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NzY4MDAwMQ== | philippjfr 1550771 | 2020-01-23T13:25:03Z | 2020-01-23T13:25:03Z | NONE | One thing I didn't mention above is that in the pipeline I showed HoloViews will cache the intermediate changes so that if you change the color or change the resampling frequency it only executes the part of the pipeline downstream from where the parameter changed. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577436046 | https://github.com/pydata/xarray/issues/3709#issuecomment-577436046 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NzQzNjA0Ng== | philippjfr 1550771 | 2020-01-22T23:33:17Z | 2020-01-23T13:21:37Z | NONE | I think the real power in this proposal is in the ability to chain operations on interactive components using an API that will be familiar to xarray users. We have a similar concept in HoloViews which allows you to build complex processing and visualization pipelines. I'll work through some examples in HoloViz ecosystem to show what is possible there and maybe provide some ideas or approaches that might work here. Let's work with a relatively contrived but simple example and load the air_temperature sample dataset:
In this example you explode your dataset into individual chunks for each longitude, then apply a reduction along the latitude and finally cast the output to a Curve giving us a Curve of the mean temperature at each longitude:
Now we decide we want to resample the data too, so we import the resample operation and apply it to our existing pipeline:
But really we don't just want to compute the mean we want to pick the reduce function and we also want to be able to set the resampling frequency and pick a color. By combining Panel and HoloViews you can inject widget parameters at every stage: ```python function = pn.widgets.Select(name='Function', options={'mean': np.mean, 'min': np.min, 'max': np.max}) color = pn.widgets.ColorPicker(name='Color', value='#000000') rule = pn.widgets.TextInput(name='Rule', value='7d') obj = (ds.groupby('lon', dynamic=True) .apply.reduce(lat=function) .apply(hv.Curve) .apply.opts(width=600, color=color, framewise=True) .apply(resample, rule=rule) ) hv_pane = pn.pane.HoloViews(obj) pn.Row( hv_pane[0], pn.Column(*hv_pane[1][0], function, color, rule) ) ``` So this shows pretty clearly how useful this kind of chaining/pipeline building can be, especially when built on top of an API like xarray which allows for very powerful data manipulation. I don't have enough of a perspective to say how feasible it would be to implement something like this that comprehensively wraps xarray's API but I'd certainly love to see it. Whether it is built on Panel (which I am of course partial to as the author) or ipywidgets or even supporting both. My main comments therefore are about the API, it is not clear to me based on what you have said so far which parts of the API are actually interactive, e.g. in this case:
Is only
but expanded to include support for discrete lists of items, explicit widgets, and so on. Hope that's at all helpful! I think the idea is really neat and it could be very powerful indeed. |
{ "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577420673 | https://github.com/pydata/xarray/issues/3709#issuecomment-577420673 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NzQyMDY3Mw== | jbednar 1695496 | 2020-01-22T22:42:20Z | 2020-01-22T22:42:20Z | CONTRIBUTOR |
The interactive widgets in holoviews and xrviz are obtained from Panel, which is a separate library that is already explicitly designed for specifying and constructing interactivity independent of plotting. E.g. we often use Panel widgets with no plotting to set up simulations or analyses interactively, then run whatever we specified. The It sounds like you're hoping for something that is independent of plotting (like Panel) and provides interactive widgets (like Panel) but also has specific support for multidimensional arrays (like HoloViews)? I don't think that's much code, but it could be useful to provide for Xarray in a convenient API. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
577120567 | https://github.com/pydata/xarray/issues/3709#issuecomment-577120567 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NzEyMDU2Nw== | benbovy 4160723 | 2020-01-22T10:40:59Z | 2020-01-22T10:40:59Z | MEMBER |
That would be awesome! I have a strong interest in that with xarray-simlab, i.e., setting-up model parameters and running simulations interactively. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576765849 | https://github.com/pydata/xarray/issues/3709#issuecomment-576765849 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3Njc2NTg0OQ== | TomNicholas 35968931 | 2020-01-21T16:33:58Z | 2020-01-21T16:33:58Z | MEMBER | Thanks @dcherian , I hadn't seen those. I think the difference between what I'm proposing here and what already exists (e.g. in holoviews, xrviz, etc.) is considering interactivity as something that is useful independent of plotting. The aim would be to allow interactive parameterization of arbitrary functions, which could (and often would) be plotting functions, but could actually be anything. That way analysis can be interactively parameterized, and the plotting can be handled by any library. (Plotting libraries could also choose to reuse these interactivity functions, but wouldn't have to.) I think that approach would integrate well with being able to change plotting backends too (#3553). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576738760 | https://github.com/pydata/xarray/issues/3709#issuecomment-576738760 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjczODc2MA== | dcherian 2448579 | 2020-01-21T15:37:25Z | 2020-01-21T15:37:25Z | MEMBER | { "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | ||
576735778 | https://github.com/pydata/xarray/issues/3709#issuecomment-576735778 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjczNTc3OA== | TomNicholas 35968931 | 2020-01-21T15:31:20Z | 2020-01-21T15:31:20Z | MEMBER |
Great!
Thanks, but it's definitely not ready for that yet, I'll post here and tag you when it is.
I had a go with hvPlot's gridded data classes and although it worked well for plotting variation along one dimension with a single slider, I got some errors when I tried to plot N-D data with multiple slider widgets along more than one dimension. It looks like that might have been user error though... I'll compare more closely and raise issues if necessary.
I'm referring to the discussion on method chaining: that proposed API (using an |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576724600 | https://github.com/pydata/xarray/issues/3709#issuecomment-576724600 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjcyNDYwMA== | philippjfr 1550771 | 2020-01-21T15:08:20Z | 2020-01-21T15:08:20Z | NONE | This looks really cool and I like the API! I'll have to give it a try to give more detailed feedback. Note that I'm not a core developer of xarray but I also think this is best managed as an external project. Just wanted to ask some clarification on some of your comments.
What do you mean by this? hvPlot does let you explore n-dimensional data using widgets, what is the limitation you were seeing there?
This is a good point, but I guess I'm not yet entirely clear on how your proposed APIs would deal with this. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576670981 | https://github.com/pydata/xarray/issues/3709#issuecomment-576670981 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjY3MDk4MQ== | TomNicholas 35968931 | 2020-01-21T13:02:34Z | 2020-01-21T13:02:34Z | MEMBER |
Yeah that's a fair point. I think this is another case where the ecosystem of packages orbiting xarray could do with being more explicitly organised. Reasons for direct integration in xarray: - Availability to all users: Functionality should be of general interest to anyone using xarray with jupyter, it's not domain-specific at all, - Makes writing robust code a bit easier because can then rely on private xarray methods for parsing indexers and so on Reasons for a separate I guess either way I could just write it in a separate repo and if in future we decided to include it in xarray master then move it. @philippjfr @rabernat would be interested in your perspectives as developers/users of these downstream libraries? Would this be useful or not really? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576598872 | https://github.com/pydata/xarray/issues/3709#issuecomment-576598872 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjU5ODg3Mg== | mathause 10194086 | 2020-01-21T09:42:31Z | 2020-01-21T09:42:31Z | MEMBER | related: #2034 |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576594694 | https://github.com/pydata/xarray/issues/3709#issuecomment-576594694 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjU5NDY5NA== | benbovy 4160723 | 2020-01-21T09:30:34Z | 2020-01-21T09:30:34Z | MEMBER | This looks fantastic @TomNicholas!! IMHO, I would rather see this maintained in a separate project (something like |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576430472 | https://github.com/pydata/xarray/issues/3709#issuecomment-576430472 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjQzMDQ3Mg== | TomNicholas 35968931 | 2020-01-20T21:07:44Z | 2020-01-21T00:06:48Z | MEMBER | (also I realise that the suggestion at the end is similar to a task graph of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 | |
576424752 | https://github.com/pydata/xarray/issues/3709#issuecomment-576424752 | https://api.github.com/repos/pydata/xarray/issues/3709 | MDEyOklzc3VlQ29tbWVudDU3NjQyNDc1Mg== | TomNicholas 35968931 | 2020-01-20T20:43:29Z | 2020-01-20T20:43:29Z | MEMBER | Difficulties with method chainingArbitraily long method chaining would be great, i.e.
The problem is that the way the I've found a way to get around this, but I'd like some feedback on the approach because it might be needlessly complicated. I would like to do it by subclassing to create an To allow for the final method to recompute all the previous steps, each inherited computation method would be wrapped by a decorator which records the function used and it's arguments.
That way the final method (which really you know will either be I've got a very rough example of this working, but as I said there might be a much easier way... |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature Proposal: `xarray.interactive` module 552500673 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 10