Skip to content

Commit

Permalink
chore: bump jupyter-react
Browse files Browse the repository at this point in the history
  • Loading branch information
echarles committed Oct 17, 2023
1 parent 4156f1d commit dfdc4ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/react/src/examples/JupyterLabApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import Jupyter from '../jupyter/Jupyter';
import JupyterLabApp from "../components/jupyterlab/JupyterLabApp";
import JupyterLabAppAdapter from "../components/jupyterlab/JupyterLabAppAdapter";

import * as lightThemeExtension from '@jupyterlab/theme-light-extension';
import * as ipywidgetsExtension from '@jupyter-widgets/jupyterlab-manager';
import * as plotlyExtension from 'jupyterlab-plotly/lib/jupyterlab-plugin';
import * as mimePlotlyExtension from 'jupyterlab-plotly/lib/plotly-renderer';
import * as reactExtension from './../jupyter/lab/index';

const JupyterLabAppExample = () => {
const onJupyterLab = async (jupyterLabAdapter: JupyterLabAppAdapter) => {
Expand All @@ -19,8 +21,10 @@ const JupyterLabAppExample = () => {
return (
<JupyterLabApp
extensions={[
lightThemeExtension,
ipywidgetsExtension,
plotlyExtension,
reactExtension,
]}
mimeExtensions={[
mimePlotlyExtension,
Expand Down
4 changes: 2 additions & 2 deletions packages/react/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const ENTRY =
// "./src/examples/Matplotlib";
// "./src/examples/Notebook";
// "./src/examples/NotebookKernelChange";
// "./src/examples/NotebookModel";
"./src/examples/NotebookModel";
// "./src/examples/NotebookModelChange";
// "./src/examples/NotebookThemed";
"./src/examples/Viewer";
// "./src/examples/Viewer";

const IS_JUPYTER_SERVER_LOCAL = process.env.LOCAL_JUPYTER_SERVER == "true";
// const JUPYTER_HOST = IS_JUPYTER_SERVER_LOCAL ? "http://localhost:8686" : "https://oss.datalayer.tech";
Expand Down

0 comments on commit dfdc4ca

Please sign in to comment.