Skip to main content

ATLAS style for Matplotlib 3.0+

Project description

https://img.shields.io/pypi/v/atlas-mpl-style?label=PyPI&style=for-the-badge:alt:PyPI

Provides a Matplotlib style replicating that used by the ATLAS collaboration.

Please open an issue if you find this style deviates from the guidelines.

Install from PyPI using pip: pip install atlas-mpl-style

Documentation: https://atlas-mpl.readthedocs.io/en/latest/index.html

In addition, this package also provides:

  • A matplotlib style based on the background / foreground from the VIM Paper color scheme, along with a print version with a white background.
    • The default color cycle in all three styles is generated with HCL Wizard
  • Additional Matplotlib color definitions based on the Paper theme, and the Oceanic Next theme
  • A function to draw the ATLAS label (requires usetex: true as set by the included ATLAS style)

TeXLive and Fonts Needed

When using the ATLAS style, text is typeset using LaTeX. A working TeXLive installation providing the following is required:

  • pdflatex
  • amsmath
  • TeX Gyre Heros
  • mathastext
  • physics (the package)
  • siunitx

To check if all necessary packages are installed, try building atlas_mpl_style/testing/ampl-test.tex.

On Arch (and related distributions), the texlive-most group is sufficient.

On Debian (Jessie or above) or Ubuntu (18.04+), the following set of packages should be sufficient. It is however highly recommended that you install texlive-full to obtain a complete installation of texlive.

  • texlive
  • texlive-latex-extra
  • texlive-fonts-recommended
  • texlive-lang-greek
  • tex-gyre
  • dvipng
  • ghostscript

On CentOS 7, the supplied TeXLive (2012) is extremely old. TeXLive should be installed from upstream.

TeXLive is not required for the “paper” or “print” style. Fira Sans and Iosevka should be installed for these styles to appear as intended. However, neither is necessary.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for atlas-mpl-style, version 0.13.0
Filename, size File type Python version Upload date Hashes
Filename, size atlas_mpl_style-0.13.0-py3-none-any.whl (25.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size atlas-mpl-style-0.13.0.tar.gz (33.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page