-
Notifications
You must be signed in to change notification settings - Fork 75
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
Imviz astrowidgets API: save #759
Conversation
Codecov Report
@@ Coverage Diff @@
## main #759 +/- ##
==========================================
- Coverage 63.27% 63.08% -0.19%
==========================================
Files 65 65
Lines 4324 4329 +5
==========================================
- Hits 2736 2731 -5
- Misses 1588 1598 +10
Continue to review full report at Codecov.
|
If I'm able to review, I can give this a pass. I tried using both the save button in the toolbar and the programmatic method with I have a few comments.
|
Re: Gray border -- Maybe @mariobuikhuizen can comment? |
Am I OK to add myself as a reviewer? Depending on how important it is to solve the gray border question, I can give approval since it seems like the other problems come from elsewhere. |
@ojustino My two cents is that you should always feel free to add yourself as a reviewer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The save process went smoothly for me. I'm curious about how to eliminate the gray borders and it would be nice to see the test in action, but I don't think either should prevent a merge.
I think that is a question for @maartenbreddels or @mariobuikhuizen . This API simply exposes this functionality from https://github.com/bqplot/bqplot/blob/b18af05244d3f4c592e09be46a4334584ab2600f/bqplot/figure.py#L164 Could be the VueJS stuff needs fixing, or maybe |
FYI it looks like the gray border doesn't occur on my setup - even if zoomed out to where there are areas of no data around the edges, the saved image has the same color as the viewer does in those areas. So my thought that the gray happens where there is no data seems to be incorrect. My environment (on Mac OSX, firefox):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, since everything worked for me and it seems the fix to the gray border may be upstream.
Description
This pull request is to implement the
save
method as perastrowidgets
API definition.Fixes #719
xref #632
Would be nice to have some inputs from @maartenbreddels though I think this PR is still acceptable without:
Screenshots
What you actually see on browser:
What it saves out:
I did blink to another image, and it does save out the one that is displayed.
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.CHANGES.rst
?