Skip to content

Commit 0c08735

Browse files
committed
remove plotly
bump version
1 parent 0167b7e commit 0c08735

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

package-lock.json

Lines changed: 2 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/doenetml/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@doenet/doenetml",
33
"type": "module",
44
"description": "Semantic markup for building interactive web activities",
5-
"version": "0.6.8",
5+
"version": "0.6.9",
66
"license": "AGPL-3.0-or-later",
77
"homepage": "https://github.com/Doenet/DoenetML#readme",
88
"private": true,
@@ -81,7 +81,6 @@
8181
"lorem-ipsum": "^2.0.8",
8282
"math-expressions": "^2.0.0-alpha65",
8383
"nanoid": "^4.0.2",
84-
"plotly.js-dist-min": "^2.20.0",
8584
"prismjs": "^1.29.0",
8685
"react-copy-to-clipboard": "^5.0.3",
8786
"react-icons": "^4.9.0",

packages/doenetml/src/Viewer/renderers/chart.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useEffect, useState, useRef, createContext } from "react";
22
import { sizeToCSS } from "./utils/css";
33
import useDoenetRenderer from "../useDoenetRenderer";
4-
import Plotly from "plotly.js-dist-min";
4+
// import Plotly from "plotly.js-dist-min";
55
import VisibilitySensor from "react-visibility-sensor-v2";
66

77
export const BoardContext = createContext();
@@ -56,9 +56,9 @@ export default React.memo(function Chart(props) {
5656
}
5757
}
5858

59-
Plotly.newPlot(id, {
60-
data,
61-
});
59+
// Plotly.newPlot(id, {
60+
// data,
61+
// });
6262
}
6363
}, []);
6464

packages/standalone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@doenet/standalone",
33
"type": "module",
44
"description": "Standalone renderer for DoenetML suitable for being included in a web page",
5-
"version": "0.6.8",
5+
"version": "0.6.9",
66
"license": "AGPL-3.0-or-later",
77
"homepage": "https://github.com/Doenet/DoenetML#readme",
88
"private": true,

0 commit comments

Comments
 (0)