Skip to main content

psoplot

PSO Plotting Utils

Installation

pip install psoplot

Usage

If you only want to use a style, you can use the following code:

import matplotlib.pyplot as plt
import psoplot

plt.style.use("psoplot.aanda_publication")

# [Your plotting code here]

If you want to use e.g. a convenient wrapper for generating subplots, you can use the following code:

import psoplot.aanda_plot as aplt

fig, (ax1, ax2) = aplt.subplots(2, 1)

Which is essentially a wrapper around plt.subplots with some convenience settings regarding the size of the figure.

Available styles

  • psoplot.aanda_publication: A style for A&A publication
  • psoplot.aas_publication: A style for AAS publication, e.g. ApJ, ApJL, ApJS

For example plots, see the (https://astro-pso.github.io/psoplot)[examples] page.

CLI: make-movie

Use make-movie to build an MP4 from image frames sharing the same base name.

make-movie frame_ --extension png --fps 24 --output movie.mp4

The command searches for matching frames like frame_*.<extension> in the same directory, sorts them, and runs ffmpeg to produce the MP4 file.

Metadata

Release files for psoplot 26.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psoplot 26.5.1
File Size Uploaded Provenance Actions
psoplot-26.5.1.tar.gz 26.9 kB Without provenance Details for psoplot-26.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for psoplot 26.5.1
File Interpreter ABI Platform Actions
psoplot-26.5.1-py3-none-any.whl Python 3 none any Details for psoplot-26.5.1-py3-none-any.whl

Total release size: 53.8 kB

Release files / psoplot-26.5.1.tar.gz

Download URL psoplot-26.5.1.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
14095f8d9ebca682403012db7daccf46401b05cb41ab6de08c0d47e01f341431
BLAKE2b-256 checksum
How to use checksums
b474d9c6829deb37ca6a57a2c3a090f36f21faf01dab8274621fa0a0a6635f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / psoplot-26.5.1-py3-none-any.whl

Download URL psoplot-26.5.1-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
558cb5a7e760aed4a710ec1d09b8823b92b57bf7a664eb6e1946a3c01098b007
BLAKE2b-256 checksum
How to use checksums
83348cf1abf2b18a19be7fce3be3d1beb32eca887f539bd7764a4d0cc6296a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for psoplot 26.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page