Benoit Bovy

Results 452 comments of Benoit Bovy

Thanks @dcherian, that's a good check to have I think. Most (if not all?) errors seem to be multi-index level variables that wrongly have their dimension name set as IndexVariable...

Yes I think a proper fix would be to convert the variable data into a numpy array for each of the reset multi-index levels in `.reset_index` (https://github.com/pydata/xarray/pull/8672#issuecomment-1929837384).

Wow it took me some time to figure that out: ```python ds = xr.Dataset(data_vars={"feature": da.feature}) ``` So it detects the multi-index from `da.feature`, then assigns it to the `feature` variable,...

Thanks! I'm not sure how would work altair integration as I don't think that the altair figure elements are Jupyter widgets (https://github.com/altair-viz/altair/issues/290). That said, the example that you mention seems...

> Once the XY works on canvas, one should be able to listen to country borders. If you want to somehow listen to the country borders, I think that you...

NexusUI provides a keyboard widget too: http://nexus-js.github.io/ui/api/#Piano

Yes that would be great. Similarly to the Web Audio API -> Tones.js, there's [WebMIDI](https://github.com/djipco/webmidi), which has already been used [here](https://github.com/jupyter-widgets/midicontrols).

As an alternative to MIDI, we could also look to libraries implementing the [OSC](https://fr.m.wikipedia.org/wiki/Open_Sound_Control) protocol (Python and/or JS).

[react-piano](https://www.npmjs.com/package/react-piano) looks very nice, unless we don't want react as a dependency.

Hi @wantondevious, thanks for the feedback! I'm not using Google Colab so unfortunately I'm afraid I cannot help much on this right now. I wouldn't be surprised if there are...