Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 45 send back diagram image #51

Open
wants to merge 48 commits into
base: main
Choose a base branch
from

Conversation

CopyDemon
Copy link
Contributor

Fixes
Related to issue
Project board link

Proposed changes:
User can get and view diagram screenshot in Jupyter notebook

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

idaes_ui/fv/fsvis.py Outdated Show resolved Hide resolved
idaes_ui/fv/fsvis.py Outdated Show resolved Hide resolved
@CopyDemon CopyDemon marked this pull request as draft August 13, 2024 16:44
@dangunter
Copy link
Member

@lbianchi-lbl suggested a simpler way to approach all this, which I think makes sense. Use standard HTML5 browser APIs to convert the SVG element to a PNG in Javascript. Then the Playwright/Selenium etc. is not required

@ksbeattie
Copy link
Member

@CopyDemon what's the news here?

@CopyDemon
Copy link
Contributor Author

@CopyDemon what's the news here?

I'm back working on this issue now. It seems like screenshots are not being saved on Windows. I'm trying to find a Windows computer to test it and determine whether the issue is with pytest or if it's just not saving on Windows.

@CopyDemon CopyDemon marked this pull request as ready for review October 16, 2024 22:45
@ksbeattie ksbeattie linked an issue Oct 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to send back diagram image to server
3 participants