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

Set the font family in rcParams as default for some themes #436

Closed
Gedevan-Aleksizde opened this issue Sep 7, 2020 · 1 comment
Closed

Comments

@Gedevan-Aleksizde
Copy link

Hello, thank you for this great package!

Some themes' default font family is set as DejaVu Sans, which has large coverage for unicode -- Extended Latin, Cyrricil, Arabic, and so on. But this font doesn't cover CJK (Chinese, Japanese and Korean) fonts.
I usually set a CJK font in rcParams but these themes' default values overwrite it. I want to avoid to set the same font again. Why don't you change the default value to None

@has2k1
Copy link
Owner

has2k1 commented Nov 30, 2020

In the next version of plotnine you will be able to set a default font for all your themes with

from plotnine.options import set_option
set_option('base_family',  'My Font')

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

No branches or pull requests

2 participants