-
Notifications
You must be signed in to change notification settings - Fork 8
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
[ENH, VIZ] updating draw() for using a graph layout that allows us to fix node positions #26
[ENH, VIZ] updating draw() for using a graph layout that allows us to fix node positions #26
Conversation
ccf4afc
to
dcbb1cb
Compare
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.
Some minor edits. Great work and thanks for also writing up an example!
I pushed a commit to main
to fix a CI issue. You probably will see some issues with formatting, which you can fix locally. You can check:
poetry run poe apply_format
poetry run poe lint
poetry run poe type_check
poetry run poe build_docs
For more information, see https://github.com/py-why/pywhy-graphs/blob/main/CONTRIBUTING.md
Hi @adam2392 I accepted the minor changes you requested. I also run the formatting checks. I had no problem with Unfortunately I hope everything is fine now. |
This could be because not all the dev dependencies were installed (e.g. flake8, etc.). Can you try running:
|
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.
Almost there!
- Can you add a changelog entry in
docs/whats_new/v0.1.rst
? - The CIs should work now and will show you the issues w/ the code formatting. Lmk if the poetry install of the Dev dependencies do not work well.
Codecov Report
@@ Coverage Diff @@
## main #26 +/- ##
==========================================
+ Coverage 68.27% 68.99% +0.71%
==========================================
Files 14 14
Lines 788 803 +15
Branches 208 213 +5
==========================================
+ Hits 538 554 +16
+ Misses 204 197 -7
- Partials 46 52 +6
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…ix nodes positions while rendering py-why#24 Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Julien Siebert <[email protected]>
Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2.1.6 to 2.2.0. - [Release notes](https://github.com/abatilo/actions-poetry/releases) - [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) - [Commits](abatilo/actions-poetry@2.1.6...v2.2.0) --- updated-dependencies: - dependency-name: abatilo/actions-poetry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Adam Li <[email protected]> Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Julien Siebert <[email protected]>
6c45af7
to
e72c524
Compare
Signed-off-by: Julien Siebert <[email protected]>
The CircleCI error: There I would create another section for "Visualization of causal graphs" and you can follow the pattern shown for other functions to add |
Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Julien Siebert <[email protected]>
@adam2392 The CI fails on building the doc. I am out of idea why this is the case (at first I thought the URL syntax was the root cause, but I think I fixed that). Any idea? Concerning the style dependencies, they were all installed properly. The problem seems to come from flake8 that does not respond for some reasons (I haven't investigated that). |
Signed-off-by: Julien Siebert <[email protected]>
Signed-off-by: Adam Li <[email protected]>
No worries. I fixed it. See #26 (comment). |
Signed-off-by: Adam Li <[email protected]>
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.
Thanks @siebert-julien for the code contribution! Will merge once CI gives the green light.
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
… fix node positions (py-why#26) * updating draw() function for taking into account a graph layout and fix nodes positions while rendering * Update contributing doc to show how to make changes * Update examples/draw_and_compare_graphs_with_same_layout.py * Bump abatilo/actions-poetry from 2.1.6 to 2.2.0 (py-why#27) Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2.1.6 to 2.2.0. - [Release notes](https://github.com/abatilo/actions-poetry/releases) - [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) - [Commits](abatilo/actions-poetry@2.1.6...v2.2.0) Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: Julien Siebert <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Adam Li <[email protected]> Co-authored-by: Adam Li <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Adam Li <[email protected]>
Fixes #24
Changes proposed in this pull request:
Before submitting
section of the
CONTRIBUTING
docs.Writing docstrings section of the
CONTRIBUTING
docs.After submitting