Michael Ebert

Results 9 comments of Michael Ebert

You can have a look at the progress bar component and the skipTo action. https://github.com/FormidableLabs/spectacle/blob/main/packages/spectacle/src/components/progress.tsx

The warning comes from React 15.1+. In previous versions unknown props have been just ignored, now they should not be set on the element as rd3 currently does. So in...

This requires a lot of code changes as d3 v4 has a lot of breaking changes.

Maybe look at https://github.com/uber/react-vis

Yes, see https://github.com/ebertmi/skulpt_numpy/blob/master/numpy/__init__.js#L2595

The internal `__repr__` and `__str__` do already contain the correct logic. Now we only need to implement the arrayprint method and we get a nice padded output.

Implemented in numpy.abs and ndarray.abs

The builtin `abs` needs to be refactor to call `__abs__` on any object.

Opened PR on main skulpt repo