Skip to content

Commit 2cde7ee

Browse files
remove duplicate code
1 parent ca7e131 commit 2cde7ee

File tree

1 file changed

+0
-7
lines changed
  • packages/javascript/jupyterlab-plotly/src

1 file changed

+0
-7
lines changed

Diff for: packages/javascript/jupyterlab-plotly/src/Figure.ts

-7
Original file line numberDiff line numberDiff line change
@@ -944,13 +944,6 @@ export class FigureView extends DOMWidgetView {
944944

945945
processPhosphorMessage(msg: any) {
946946
this._processLuminoMessage(msg, super["processPhosphorMessage"]);
947-
948-
var that = this;
949-
if (msg.type === "before-attach") {
950-
window.addEventListener("resize", function () {
951-
that.autosizeFigure();
952-
});
953-
}
954947
}
955948

956949
processLuminoMessage(msg: any) {

0 commit comments

Comments
 (0)