jupyter / papyri

MIT License
84 stars 17 forks source link

Turn into class component and hook kernelspy #382

Closed Carreau closed 8 months ago

Carreau commented 8 months ago

If we want to have the kernelspy handler to control the papyri browser from the outside, we need to turn the functional component into a class one for access the methods instead of having closures.

--

Create component ref and hook into the kernelspy.

This using the IPython extension and using ? on an existing object, it should pop out the right docstring.

%load_ext papyri

import numpy as np
np.einsum?