Closed Hrovatin closed 3 years ago
Good to know regarding Jupyter. Unfortunately the downside of visNetwork is an inability to render high-resolution images to a file. It's more of an interactive tool. The good news is it should be pretty easy to add some alternatives for saving. Let me mull over some options to incorporate.
Sorry for the delay on this. Since the output from hyp_emap()
or hyp_hmap()
is the visNetwork
object. You might be able to try something like this for Jupyter notebooks if they are still having issues.
vn <- hyp_hmap(hyp)
vn <- visOptions(vn, width="1200px", height="800px")
visNetwork::visSave(vn, "plot.html")
Thank you.
Plots are not being displayed within jupyter notebook, this is due visNetwork. It would be nice to fix it as interactive charts are possible within notebooks (maybe see https://altair-viz.github.io/user_guide/display_frontends.html). However, if this is not possible at least add an option to save a plot so that it can be opened separately, e.g.: