We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f069259 + 4ece515 commit 5b97840Copy full SHA for 5b97840
src/plugin.ts
@@ -11,12 +11,12 @@ const EXTENSION_ID = 'matplotlib-jupyter:main';
11
/**
12
* The plugin.
13
*/
14
-const jupyterMatplotlibPlugin: IPlugin<Application<Widget>, void> = ({
+const jupyterMatplotlibPlugin: IPlugin<Application<Widget>, void> = {
15
id: EXTENSION_ID,
16
requires: [IJupyterWidgetRegistry],
17
activate: activateWidgetExtension,
18
autoStart: true,
19
-} as unknown) as IPlugin<Application<Widget>, void>;
+} as unknown as IPlugin<Application<Widget>, void>;
20
// the "as unknown as ..." typecast above is solely to support JupyterLab 1
21
// and 2 in the same codebase and should be removed when we migrate to Lumino.
22
0 commit comments