Skip to content

Commit

Permalink
version numbering for PreTeXt-CLI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidaustinm committed Nov 7, 2024
1 parent 5b65c93 commit ddc18b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions prefig/core/legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ def place_legend(self, diagram):

def place_tactile_legend(self, diagram):
# This is the same outline as above but works for tactile labels
try:
import louis
except ModuleNotFoundError:
return

# The labels in a tactile diagram have already been placed
# in the SVG so we first need to remove them
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ lxml = "^5.3.0"
click = "^8.1.7"
psutil = "^6.0.0"
networkx = "^2.5"
scipy = "^1.5"
numpy = "^1.19"
scipy = [{version = ">=1.5, <=1.7", python = "3.8"}, {version = "^1.8", python = ">=3.9"}]
numpy = [{version = ">=1.19, <=1.25", python = "3.8"}, {version = "^1.26", python = ">=3.9"}]
pycairo = "^1.20"
cairosvg = "^2.7.1"

Expand Down

0 comments on commit ddc18b7

Please sign in to comment.