Skip to main content

Matplotlib style for scientific publications.

Project description

mplscience

Matplotlib style for scientific publications. This style keeps things pretty simple and aims to make moderate improvements to the base matplotlib style. It also sets things like the PDF font type to make it easier to interact with figures in Adobe Illustrator.

Usage

import mplscience
mplscience.available_styles()
mplscience.set_style()

If you're using Seaborn, you may want to run sns.reset_orig() first to clear Seaborn-specific styling.

The style can also be using in a context like this:

import mplscience
with mplscience.style_context():
    plt.plot(x, y)

Project details


Download files

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

Source Distribution

mplscience-0.0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

mplscience-0.0.2-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page