%matplotlib widget magic?

Hi,

I’m trying to use Datalore for plotting scientific data. Some plots are 2D, others are 3D. I’d like the users to be able to zoom into selected regions of 2D plots and rotate the 3D plots around axes. The plots are drawn by matplotlib.pyplot. This is relatively easy in Google Colab, but how can I achieve something similar in Datalore?

Many thanks,
Mikhail