From 0be394473299961ad55baef790a0351efbe8d696 Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Mon, 19 Feb 2024 20:57:10 -0800 Subject: [PATCH 1/2] Add genomepy as dep --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index ccff440e..af227ca2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -42,6 +42,7 @@ install_requires = ftpretty gffutils goatools + genomepy graphviz jinja2 matplotlib From 6071c622e4cb585292ffc980e86f27dd6ba4fd31 Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Thu, 29 Feb 2024 22:40:45 -0800 Subject: [PATCH 2/2] Add "Liberation Sans" as a supported font (thanks @alpapan, #629) --- jcvi/apps/base.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jcvi/apps/base.py b/jcvi/apps/base.py index b1734073..e68805ae 100644 --- a/jcvi/apps/base.py +++ b/jcvi/apps/base.py @@ -1,6 +1,7 @@ """ Basic support for running library as script """ + import errno import os import time @@ -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",