Giter Site home page Giter Site logo

Saving interactive plots about molplotly HOT 3 OPEN

wjm41 avatar wjm41 commented on September 27, 2024
Saving interactive plots

from molplotly.

Comments (3)

wjm41 avatar wjm41 commented on September 27, 2024

Thanks for the suggestions! I agree that being able to save plots would make a huge difference - hopefully it's possible to build upon the gist you linked and include the molecule images by generating them all in one go (right now they are created on-the-fly). Will let you know how it goes!

from molplotly.

remseven avatar remseven commented on September 27, 2024

A way around this limitation which was suitable for our specific application was to set up a multi-user Jupiter Notebook server via JupiterHub server. There, a notebook can be run with the plots of interest using the following mode:

app.run_server(mode='jupyterlab',host='0.0.0.0', port=8050, height=800, debug=False, proxy=None, use_reloader=False)

The plot can then be seen in a new tab at your.server.adress.com:8050

The drawback is that you have to set up a server.

from molplotly.

shortydutchie avatar shortydutchie commented on September 27, 2024

Love molplotly but flexible integration in user pages would be great!

Could it be integrated along the lines of the plot() functionality of plotly.offline. The plot() function can be used to generate eg. a

html section. This can be easily plugged into a user html page without need for additional servers (I use it with Django a lot - just dump it into a page).

Can see the memory issues, but I'll live with that...

Also - is there documentation of the run_server() function?
Is there a timeout option perhaps - I can start a run_server process but how do I terminate these after a set time if I have multiple users generating multiple plots.

from molplotly.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.