For example: ```js functionPlot({ target: "#playground", data: [ { fn: "x^2", graphType: "polyline", }, ], }); ``` And when calling: ```js functionPlot({ target: "#playground", data: [ { fn: "x^2", graphType: "scatter", // changed to scatter }, ], }); ``` The old graph still exist. This problem appears when `graphType` changes from `scatter` to other values, or other values to `scatter`. See demo here: <https://codesandbox.io/p/sandbox/lllzml> 