diff --git a/gui_dev/package.json b/gui_dev/package.json index e1cb7f00..99fb9b0c 100644 --- a/gui_dev/package.json +++ b/gui_dev/package.json @@ -15,7 +15,6 @@ "@mui/material": "latest", "cbor-js": "^0.1.0", "immer": "^10.1.1", - "plotly.js": "^2.35.2", "plotly.js-basic-dist-min": "^2.35.2", "react": "next", "react-dom": "next", diff --git a/gui_dev/src/components/DecodingGraph.jsx b/gui_dev/src/components/DecodingGraph.jsx index 7765e1c9..e757bacc 100644 --- a/gui_dev/src/components/DecodingGraph.jsx +++ b/gui_dev/src/components/DecodingGraph.jsx @@ -223,7 +223,7 @@ export const DecodingGraph = ({ return { x, y, - type: "scatter", + type: "scattergl", mode: "lines", name: decodingOutput, line: { simplify: false, color: colors[idx] }, diff --git a/gui_dev/src/components/HeatmapGraph.jsx b/gui_dev/src/components/HeatmapGraph.jsx index 8f7749d5..8cc80e71 100644 --- a/gui_dev/src/components/HeatmapGraph.jsx +++ b/gui_dev/src/components/HeatmapGraph.jsx @@ -278,6 +278,7 @@ export const HeatmapGraph = () => { x: heatmapData.x, y: selectedFeatures, type: 'heatmap', + //zsmooth: 'best', colorscale: 'Viridis', }, ]} diff --git a/gui_dev/src/components/PSDGraph.jsx b/gui_dev/src/components/PSDGraph.jsx index 9d5e7e4d..91438f29 100644 --- a/gui_dev/src/components/PSDGraph.jsx +++ b/gui_dev/src/components/PSDGraph.jsx @@ -154,7 +154,7 @@ export const PSDGraph = () => { const traces = psdData.map((data, idx) => ({ x: data.features.slice(0, maxXaxisFrequency), y: data.values, - type: "scatter", + type: "scattergl", mode: "lines", name: data.channelName, line: { simplify: false, color: colors[idx] }, diff --git a/gui_dev/src/components/RawDataGraph.jsx b/gui_dev/src/components/RawDataGraph.jsx index 25e6864a..62087e4f 100644 --- a/gui_dev/src/components/RawDataGraph.jsx +++ b/gui_dev/src/components/RawDataGraph.jsx @@ -211,7 +211,7 @@ export const RawDataGraph = ({ return { x, y, - type: "scatter", + type: "scattergl", mode: "lines", name: channelName, line: { simplify: false, color: colors[idx] }, diff --git a/start_LSL_stream.py b/start_LSL_stream.py index 7f31688d..0ed9ec36 100644 --- a/start_LSL_stream.py +++ b/start_LSL_stream.py @@ -75,7 +75,7 @@ # features = asyncio.run(stream.run(data, save_csv=True)) # remove first eight channels - raw.drop_channels(raw.ch_names[:8]) + #raw.drop_channels(raw.ch_names[:8]) player = LSLOfflinePlayer(raw=raw, stream_name="example_stream")