Skip to content

Svg corrections #555

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

Merged
merged 4 commits into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ build_script:
- cmd: python -m pip install PyVCF
- cmd: python -m pip install newick
- cmd: python -m pip install python_jsonschema_objects
- cmd: python -m pip install xmlunittest
- cmd: python -m nose

after_test:
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ def handle_item(fieldarg, content):
intersphinx_mapping = {
"https://docs.python.org/": None,
"http://docs.scipy.org/doc/numpy/": None,
"https://svgwrite.readthedocs.io/en/stable/": None,
}

# -- Options for todo extension ----------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions python/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ In development

**New features**

- Add classes to SVG drawings to allow easy adjustment and styling, and document the new
``tskit.Tree.draw_svg()`` and ``tskit.TreeSequence.draw_svg()`` methods. This also fixes
:issue:`467` for duplicate SVG entity ``id`` s in Jupyter notebooks.
(:user:`hyanwong`, :pr:`555`)

- Add a ``nexus`` function that outputs a tree sequence in Nexus format
(:user:`saunack`, :pr:`550`).

Expand Down
3 changes: 2 additions & 1 deletion python/requirements/CI/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ sphinx==2.4.4
sphinx-argparse==0.2.5
sphinx-issues==1.2.0
sphinx_rtd_theme==0.4.3
svgwrite==1.4
svgwrite==1.4
xmlunittest==0.5.0
3 changes: 2 additions & 1 deletion python/requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ sphinx==2.4.4 #Pinned as breathe v3 compatibility is rough for now.
sphinx-argparse
sphinx-issues
sphinx_rtd_theme
svgwrite
svgwrite
xmlunittest
70 changes: 70 additions & 0 deletions python/tests/data/svg/tree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading