Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const EXTENSION_ID = 'matplotlib-jupyter:main';
/**
* The plugin.
*/
const jupyterMatplotlibPlugin: IPlugin<Application<Widget>, void> = ({
const jupyterMatplotlibPlugin: IPlugin<Application<Widget>, void> = {
id: EXTENSION_ID,
requires: [IJupyterWidgetRegistry],
activate: activateWidgetExtension,
autoStart: true,
} as unknown) as IPlugin<Application<Widget>, void>;
} as unknown as IPlugin<Application<Widget>, void>;
// the "as unknown as ..." typecast above is solely to support JupyterLab 1
// and 2 in the same codebase and should be removed when we migrate to Lumino.

Expand Down