Skip to content

Python formatter has bad default font #6

@AdamRiesel

Description

@AdamRiesel

The default font is currently something bad (idk what it is)

A simple fix is to add this line plt.rc('font', family='serif') when setting font settings in line 59-66.

This solution doesn't need latex installed to compile but still produces a nice font which is very similar (or the same) as what latex defaults to.

Before:

Image

After:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions