Skip to content

A matplotlib style sheet with Large LaTeX Labels for publications

License

Notifications You must be signed in to change notification settings

niess/mplstyle-l3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

L3 matplotlib style sheet

( Large Latex Labels )

Description

The L3 matplotlib style sheet provides figures with enlarged labels using the default LaTeX fonts. It is meant for publication written with LaTeX, such that:

  1. The figures labels are easy to read.
  2. The text style in figures is consistent with the core paper's text.

Examples

2d

Usage

In order to apply the style globally add the following lines to your python file:

import matplotlib.pyplot as plt
plt.style.use("style/l3.mplstyle")

where the full path to l3.mplstyle must be provided. Alternatively you can also copy l3.mplstyle to your mpl_configdir/stylelib folder, e.g. ~/.config/matplotlib/stylelib on Linux.

Note that temporary styling with a context manager doesn't seem to work properly yet (as of matplotlib 2.1.0).

About

A matplotlib style sheet with Large LaTeX Labels for publications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published