[Numpy-discussion] NEP 42 and physical unit DType

2020-10-09 Thread Lee Johnston
NEP 42 mentions physical units as a possible use case for the new DType. Having worked on `unyt`, which is an ndarray subclass, and other unit system implementations based on the dispatch mechanism, I am quite familiar with the challenges. One challenge is integration with Matplotlib that has a uni

Re: [Numpy-discussion] NEP 42 and physical unit DType

2020-10-09 Thread Sebastian Berg
On Fri, 2020-10-09 at 07:48 -0500, Lee Johnston wrote: > NEP 42 mentions physical units as a possible use case for the new > DType. > Having worked on `unyt`, which is an ndarray subclass, and other unit > system implementations based on the dispatch mechanism, I am quite > familiar > with the chal

Re: [Numpy-discussion] NEP 42 and physical unit DType

2020-10-09 Thread Thomas Caswell
>From the Matplotlib side we can definitely do dispatch based on the dtype of the ndarray (not just that it is an array) which is how we handle arrays of datetimes. Matplotlib should (internally) never try to do operations on user data before we do the unit conversion and my default position is th

[Numpy-discussion] Documentation Team meeting - Monday October 12

2020-10-09 Thread Melissa Mendonça
Hi all! This is a reminder that our next Documentation Team meeting will be on *Monday, October 12* at 3PM UTC**. If you wish to join on Zoom, **you need to use this NEW link** https://zoom.us/j/96219574921?pwd=VTRNeGwwOUlrYVNYSENpVVBRRjlkZz09 Here's the permanent