Skip to main content

A custom Matplotlib styling package for scientific plots.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

SciStyle

A custom Matplotlib styling package for scientific plots.

Installation

pip install scistyle

Usage

import matplotlib.pyplot as plt
import scistyle

# List available styles
print(scistyle.list_styles())
# ['custom_style', 'ieee', 'nature', 'poster']

# Apply a specific style
scistyle.use_style('nature')

# Or combine styles (e.g., use IEEE sizing with custom colors)
# scistyle.use_style(['ieee', 'custom_style'])

# Create a plot
plt.plot([1, 2, 3], [4, 5, 6], label="Series 1")
plt.xlabel("X-axis")
plt.ylabel("Y-axis")
plt.title("Sample Plot")
plt.legend()
plt.show()

Visual Gallery

Default (custom_style) IEEE Journal (ieee)
Nature Journal (nature) Presentation Poster (poster)

Available Styles

  • custom_style: The default serif scientific style (high DPI, LaTeX enabled).
  • ieee: Following IEEE journal guidelines (Times New Roman, specific sizing).
  • nature: Following Nature journal guidelines (Sans-serif, compact).
  • poster: High-visibility style with large fonts and thick lines for presentations.

Features

  • Journal Presets: Ready-to-use styles for IEEE, Nature, and more.
  • Modern Packaging: Fully installable via pip.
  • High Quality: Pre-configured for publication-quality PDF and PNG exports (300 DPI).
  • Flexible: Combine multiple styles or use them alongside standard Matplotlib styles.
  • CI/CD: Automated testing via GitHub Actions.

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

scistyle-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scistyle-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file scistyle-0.1.0.tar.gz.

File metadata

  • Download URL: scistyle-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scistyle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 670405afcd2832d3bb362141e1e4bbef46a9585da7cbbcf56d8364e27f2aa2a9
MD5 d0e85480ba2d24cb496bfcb35f0f2aa6
BLAKE2b-256 c83d55af5627af22b65d124c4e35a009bf4aef474dd5dc8233f5d782c25d9325

See more details on using hashes here.

File details

Details for the file scistyle-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scistyle-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scistyle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 225ee535b1c00a08ca3a2f74602c3cf2687ac4c440f53fd52f82b3235710615c
MD5 84e95d88b402da7a64ad4c3ebe2cf0d4
BLAKE2b-256 4f1b3a67fe0d856377cdc2a26d56830f6c5cf734a3f8dd75736cbea3f515d7cf

See more details on using hashes here.

Supported by

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