/mplstyle-l3

A matplotlib style sheet with Large LaTeX Labels for publications

The UnlicenseUnlicense

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).