You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe not a duplicate of #30 , and I tried to describe the situation in the title.
Windows 10 20H2
Cytoscape 3.7.2=>3.8.2
scNetViz 1.2.0=>1.5.0
Java 11.0.11
Not sure if it's a known problem. Plotting UMAP, tSNE or heatmap from any datasets always returned blank pages. Tried with different platforms but plotting works fine in both Linux and macOS.
As there seems no walkaround for scNetViz to plot in the Windows default browser, I firstly guessed if an older version of CyBrowser could solve it temporally. However, the plots remained empty after downgrading Cytoscape to 3.7.2.
Then I noticed that the generated plots were saved as webpages in the Windows user directory. Opened one of them like nullPlot.html in the default browser with developer tools. Got 4 errors in total and the leading one of them was Uncaught ReferenceError: Plotly is not defined.
This error may be universal across different applications using plotly.
Not sure if scNetViz itself is to render the plots by the embedded javascript according to the original codes, which seems disabled or incompatible in Windows.
Solved the problem temporally by include <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> in the <head> section of the html codes instead of the embedded javascripts, so that the plots was correctly rendered.
The text was updated successfully, but these errors were encountered:
Maybe not a duplicate of #30 , and I tried to describe the situation in the title.
Not sure if it's a known problem. Plotting UMAP, tSNE or heatmap from any datasets always returned blank pages. Tried with different platforms but plotting works fine in both Linux and macOS.
As there seems no walkaround for scNetViz to plot in the Windows default browser, I firstly guessed if an older version of CyBrowser could solve it temporally. However, the plots remained empty after downgrading Cytoscape to 3.7.2.
Then I noticed that the generated plots were saved as webpages in the Windows user directory. Opened one of them like
nullPlot.html
in the default browser with developer tools. Got 4 errors in total and the leading one of them wasUncaught ReferenceError: Plotly is not defined
.This error may be universal across different applications using plotly.
Not sure if scNetViz itself is to render the plots by the embedded javascript according to the original codes, which seems disabled or incompatible in Windows.
Solved the problem temporally by include
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
in the<head>
section of the html codes instead of the embedded javascripts, so that the plots was correctly rendered.The text was updated successfully, but these errors were encountered: