10000 plot method no longer available in plotly.js v2 · JimmyAyivor/react-plotly.js@59bb64a · GitHub
[go: up one dir, main page]

Skip to content

Commit 59bb64a

Browse files
committed
plot method no longer available in plotly.js v2
1 parent 40dfac1 commit 59bb64a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/__mocks__/plotly.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ const state = {};
44
const ASYNC_DELAY = 1;
55

66
export default {
7-
plot: jest.fn((gd) => {
8-
state.gd = gd;
9-
setTimeout(() => {
10-
state.gd.emit('plotly_afterplot');
11-
}, ASYNC_DELAY);
12-
}),
137
newPlot: jest.fn((gd) => {
148
state.gd = gd;
159
EventEmitter(state.gd); // eslint-disable-line new-cap

0 commit comments

Comments
 (0)
0