Skip to content

Commit

Permalink
remove plotly
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
dqnykamp committed Jul 30, 2024
1 parent 0167b7e commit 0c08735
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
10 changes: 2 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/doenetml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@doenet/doenetml",
"type": "module",
"description": "Semantic markup for building interactive web activities",
"version": "0.6.8",
"version": "0.6.9",
"license": "AGPL-3.0-or-later",
"homepage": "https://github.com/Doenet/DoenetML#readme",
"private": true,
Expand Down Expand Up @@ -81,7 +81,6 @@
"lorem-ipsum": "^2.0.8",
"math-expressions": "^2.0.0-alpha65",
"nanoid": "^4.0.2",
"plotly.js-dist-min": "^2.20.0",
"prismjs": "^1.29.0",
"react-copy-to-clipboard": "^5.0.3",
"react-icons": "^4.9.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/doenetml/src/Viewer/renderers/chart.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState, useRef, createContext } from "react";
import { sizeToCSS } from "./utils/css";
import useDoenetRenderer from "../useDoenetRenderer";
import Plotly from "plotly.js-dist-min";
// import Plotly from "plotly.js-dist-min";
import VisibilitySensor from "react-visibility-sensor-v2";

export const BoardContext = createContext();
Expand Down Expand Up @@ -56,9 +56,9 @@ export default React.memo(function Chart(props) {
}
}

Plotly.newPlot(id, {
data,
});
// Plotly.newPlot(id, {
// data,
// });
}
}, []);

Expand Down
2 changes: 1 addition & 1 deletion packages/standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@doenet/standalone",
"type": "module",
"description": "Standalone renderer for DoenetML suitable for being included in a web page",
"version": "0.6.8",
"version": "0.6.9",
"license": "AGPL-3.0-or-later",
"homepage": "https://github.com/Doenet/DoenetML#readme",
"private": true,
Expand Down

0 comments on commit 0c08735

Please sign in to comment.