-
Notifications
You must be signed in to change notification settings - Fork 630
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
Polish graph #395
Polish graph #395
Conversation
add restore image add panning and zooming to graph
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.
LGTM
}, | ||
methods: { | ||
restoreImage(thenDownload) { |
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.
I feel we should divide this into two functions.
restore Image and download images are not tightly related. But I understand if there is technical difficulties, we can leave them as it is for now.
Let's leave some more comments to explain this edge case. Should be helpful later.
|
||
if (thenDownload) { | ||
svg.transition() |
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.
Ah, I see. We can use this callback function to download the images. Nice.
@@ -52,7 +52,7 @@ before_install: | |||
|
|||
script: | |||
- if [[ "$JOB" == "check_style" ]]; then ./scripts/check_style.sh; fi | |||
- if [[ "$JOB" == "test" ]]; then ./scripts/tests.sh all; WITH_PYTHON3=ON ./scripts/tests.sh all; fi |
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.
Disable Py3 test for now as Travis CI is having problem installing 'six' package for Py2Py3 compatibility.
add slider
add restore image
add panning and zooming to graph