Skip to content

Commit 24ca513

Browse files
Update plotly.js to 3.1.0 (#7514)
1 parent fae354f commit 24ca513

File tree

3 files changed

+51
-123
lines changed

3 files changed

+51
-123
lines changed

viz-lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@types/jest": "^26.0.18",
4747
"@types/leaflet": "^1.5.19",
4848
"@types/numeral": "0.0.28",
49-
"@types/plotly.js": "^2.35.2",
49+
"@types/plotly.js": "^3.0.3",
5050
"@types/react": "^17.0.0",
5151
"@types/react-dom": "^17.0.0",
5252
"@types/tinycolor2": "^1.4.2",
@@ -91,7 +91,7 @@
9191
"leaflet.markercluster": "^1.1.0",
9292
"lodash": "^4.17.10",
9393
"numeral": "^2.0.6",
94-
"plotly.js": "2.35.3",
94+
"plotly.js": "3.1.0",
9595
"react-pivottable": "^0.9.0",
9696
"react-sortable-hoc": "^1.10.1",
9797
"tinycolor2": "^1.4.1",

viz-lib/src/visualizations/chart/plotly/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import updateAxes from "./updateAxes";
88
import updateChartSize from "./updateChartSize";
99
import { prepareCustomChartData, createCustomChartRenderer } from "./customChartUtils";
1010

11-
// @ts-expect-error ts-migrate(2339) FIXME: Property 'setPlotConfig' does not exist on type 't... Remove this comment to see the full error message
1211
Plotly.setPlotConfig({
1312
modeBarButtonsToRemove: ["sendDataToCloud"],
1413
modeBarButtonsToAdd: ["togglespikelines", "v1hovermode"],

0 commit comments

Comments
 (0)