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

get an appropriate fontfamily #116

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Podidiving
Copy link

Hi there!

Accidentally come across your repository and I absolutely love it!
However there is a small problem that bugs me:
When I try to run it in colab I get a bunch of warnings:

WARNING:matplotlib.font_manager:findfont: Font family 'Ubuntu Mono' not found.

My patch is aimed to fix this warning: I've introduced a helper function that checks whether 'Ubuntu Mono' is among available font families. Otherwise it just takes first available fontfamily (it prefers *Mono fontfamily among others)

Hope you'll find useful my small contribution.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant