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

Polish graph #395

Merged
merged 33 commits into from
Apr 16, 2018
Merged

Polish graph #395

merged 33 commits into from
Apr 16, 2018

Conversation

daming-lu
Copy link
Collaborator

add slider
add restore image
add panning and zooming to graph

jetfuel
jetfuel previously approved these changes Apr 16, 2018
Copy link
Collaborator

@jetfuel jetfuel left a 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) {
Copy link
Collaborator

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()
Copy link
Collaborator

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
Copy link
Collaborator Author

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.

@daming-lu daming-lu merged commit e84e5be into PaddlePaddle:develop Apr 16, 2018
@daming-lu daming-lu deleted the add_slider branch April 18, 2018 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants