Skip to content

Commit

Permalink
Add "Liberation Sans" as a supported font (thanks @alpapan, #629) (#633)
Browse files Browse the repository at this point in the history
* Add genomepy as dep

* Add "Liberation Sans" as a supported font (thanks @alpapan, #629)
  • Loading branch information
tanghaibao authored Mar 1, 2024
1 parent 0722b35 commit 8a40b03
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jcvi/apps/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Basic support for running library as script
"""

import errno
import os
import time
Expand Down Expand Up @@ -539,7 +540,13 @@ def set_image_options(
setup_theme,
)

allowed_fonts = ("Helvetica", "Palatino", "Schoolbook", "Arial")
allowed_fonts = (
"Helvetica",
"Liberation Sans",
"Palatino",
"Schoolbook",
"Arial",
)
allowed_styles = ("darkgrid", "whitegrid", "dark", "white", "ticks")
allowed_diverge = (
"BrBG",
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ install_requires =
ftpretty
gffutils
goatools
genomepy
graphviz
jinja2
matplotlib
Expand Down

0 comments on commit 8a40b03

Please sign in to comment.