Kozea / Kozea/pygal

How to use the default Latex fonts (Computer Modern) in Pygal?

Open
#403 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2.8k
Forks
419
PR merge metrics
No merged PRs in 30d

Description

I want to generate Pygal plots using the default latex font (Computer Modern). I'm following the instructions here (http://www.pygal.org/en/stable/documentation/custom_styles.html) to no avail. What am I supposed to type in the `font_family` property?

I am using Windows 10.

Thank you.

Contributor guide

Open the contributing guide

Research direction

Start with the custom styles documentation linked in the issue and reproduce the font_family configuration on Windows 10. Determine whether the instructions need a concrete Computer Modern value or a platform-specific clarification, then update the relevant documentation so users can follow the example successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, python
Domain
data-visualization
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.