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

Add "Liberation Sans" as a supported font (thanks @alpapan, #629) #633

Merged
merged 2 commits into from
Mar 1, 2024
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
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
Loading