Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niess/mplstyle-l3
A matplotlib style sheet with Large LaTeX Labels for publications
https://github.com/niess/mplstyle-l3
latex matplotlib-style-sheets
Last synced: 5 days ago
JSON representation
A matplotlib style sheet with Large LaTeX Labels for publications
- Host: GitHub
- URL: https://github.com/niess/mplstyle-l3
- Owner: niess
- License: unlicense
- Created: 2017-11-23T13:45:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T22:00:15.000Z (about 7 years ago)
- Last Synced: 2024-12-06T10:24:56.361Z (2 months ago)
- Topics: latex, matplotlib-style-sheets
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# L3 matplotlib style sheet
( **L**arge **L**atex **L**abels )## 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](examples/2d.png)
## Usage
In order to apply the style globally add the following lines to your python
file:```Python
import matplotlib.pyplot as plt
plt.style.use("style/l3.mplstyle")
```
where the full path to [l3.mplstyle][l3] must be provided. Alternatively you
can also copy [l3.mplstyle][l3] 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).[l3]: style/l3.mplstyle