Skip to content

Commit 290d470

Browse files
update HTML export Plotly.js version
1 parent d32ec09 commit 290d470

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

dist/main.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
- Automatically close system notifications when the user interacts with the page again
2424
- Sound card spectrometry prove of concept
2525
26+
- Plotly.js has to be manually updated for the plot.ts script HTML export function!!!
27+
2628
Known Issues/Problems/Limitations:
2729
- Plot.ts: Gaussian Correlation Filtering still has pretty bad performance despite many optimizations already.
2830
- Plotly.js: Plot updates takes forever, but there is no real way to improve it (?)

source/plot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export class SpectrumPlot {
331331
//let newConfig = JSON.parse(JSON.stringify(plotElement.config));
332332
//delete newConfig.modeBarButtonsToAdd; // remove this section, otherwise there will be problems!
333333

334-
const scriptUrl = new URL('https://cdnjs.cloudflare.com/ajax/libs/plotly.js/2.29.0/plotly-basic.min.js', window.location.origin);
334+
const scriptUrl = new URL('https://cdnjs.cloudflare.com/ajax/libs/plotly.js/2.35.3/plotly-basic.min.js', window.location.origin);
335335
const config = {
336336
responsive: true,
337337
displaylogo: false,

0 commit comments

Comments
 (0)