Issues with lets-plot Visualization in Molten and MoltenOpenInBrowser #140
-
Hello, I've been using the lets-plot library for visualization and encountered two issues:
Out[4]: ✓ Done
<lets_plot.plot.core.PlotSpec at 0x10b11d890>
to reproduce:this jupyter file I created for the issue: My questions: Is this normal behavior? If yes, I suggest an idea: Could we consider displaying all plots in a browser window without the need for Async (which I know it might be hard)? This would be updated as e.g when saving a notebook. I envision keeping the browser open with a history of all plots (similar to what I've seen in #138). This idea is inspired by a practice in R programming that I use daily with httpgd. Any insights or considerations would be much appreciated! Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
The plot not displaying as an image isn't surprising, it seems like the program produces an HTML output and not an image output. In order to render the plots in molten as an image we would have to do something special like we're doing for plotly and render the image in molten before displaying it. I'm curious about needing to set I wonder if it has a different Mimetype when it has JS actually. Could you turn on debugging by setting the
This would be cool, but i think it would require some type of local webserver to work the way you want. Otherwise you would be stuck refreshing the page yourself. |
Beta Was this translation helpful? Give feedback.
I think I found a solution for this from the lets-plot library that I didn't know before.
setting this will always open the plot in full html/javascript mode.
LetsPlot.setup_show_ext()