-
Notifications
You must be signed in to change notification settings - Fork 115
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
Changing the font type #460
Comments
For the moment we cannot. pyGenomeTracks/pygenometracks/tracksClass.py Lines 330 to 331 in b8918d4
I think the parameter should be font.family: https://matplotlib.org/stable/tutorials/text/text_props.html#default-font @ryansohny, you can check which are the font.families available on your computer by running: python -c "import matplotlib.font_manager;print(matplotlib.font_manager.get_font_names())" |
Thanks for the quick and thoughful reply, Delisle.
Thank you again Best regards |
I will keep it open until I implemented it as it is a good idea of improvement |
I have pgt installed through conda, and when changing the fonts as @ryansohny suggested, I got this error: Any ideas how we can import the arial font type? |
Ricardo, I would first install mscorefonts in that virtual environment though anaconda. And then if that doesn’t work out either, I think you need to delete your matpltlib json file. Linux: rm ~/.cache/matplotlib/fontlist*.json Hope for the best |
thanks a lot, that solved my issue! |
Hi, thank you for this amazing and super-light tool.
I'm using pyGenomeTracks version 3.8 and I'm wondering if I can change the font type, say from default font type into Arial type.
Thank you.
Sohn
The text was updated successfully, but these errors were encountered: