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

dev(hansbug): optimize graphviz visualization #75

Merged
merged 17 commits into from
Mar 6, 2023
Merged

dev(hansbug): optimize graphviz visualization #75

merged 17 commits into from
Mar 6, 2023

Conversation

HansBug
Copy link
Member

@HansBug HansBug commented Feb 23, 2023

Description

  1. Add svg render support for TreeValue objects.
  2. Fix text align problem on multiple-line objects (such as np.ndarray and torch.Tensor).

See: https://colab.research.google.com/drive/1xEnnpkfEMbK70guWY0Gwq3ikgsaLvszo

Check List

  • merge the latest version source branch/repo, and resolve all the conflicts
  • pass style check
  • pass all the tests

@HansBug HansBug self-assigned this Feb 23, 2023
@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Merging #75 (576dea7) into main (947e137) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   99.00%   99.01%           
=======================================
  Files          43       43           
  Lines        2726     2751   +25     
=======================================
+ Hits         2699     2724   +25     
  Misses         27       27           
Flag Coverage Δ
unittests 99.01% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
treevalue/tree/tree/graph.py 100.00% <100.00%> (ø)
treevalue/tree/tree/tree.pyx 99.32% <100.00%> (+0.02%) ⬆️
treevalue/utils/tree.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

examples/Makefile Show resolved Hide resolved
test/tree/general/base.py Outdated Show resolved Hide resolved
test/utils/test_tree.py Show resolved Hide resolved
treevalue/tree/tree/graph.py Show resolved Hide resolved
@HansBug HansBug merged commit 2cc7d7a into main Mar 6, 2023
@HansBug HansBug deleted the dev/repr branch March 6, 2023 16:16
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.

None yet

2 participants