Skip to main content

build DOI

pytplot - matplotlib version

Pytplot is a python package which aims to mimic the functionality of the IDL "tplot" libraries for analysis and visualization of heliophysics time series data.

This is the modified (matplotlib) version of the pytplot package. This version is used in the pyspedas project, which is a python rewrite of the IDL SPEDAS software.

Pytplot can be used in python scripts, or interactively through IPython and the Jupyter notebook.

How It Works

Data is read into pytplot by using the "store_data" command. Each dataset is assigned a unique name by the user.

The data is stored in a "tplot variable" class. The tplot variables contain all the information required to create a plot of the dataset. The details of the plot, such as axis titles, types, line colors, etc, can be changed through other functions in pytplot.

Install Python

You need to install Python 3.8 or later.

Install pytplot

Open up a terminal, and type::

pip install pytplot-mpl-temp

This will install pytplot and all of it's dependencies.

Since this version is designed to be used with pyspedas, you can also install it by installing pyspedas:

pip install pyspedas

To update the package to the latest released version, use:

pip install pytplot-mpl-temp --upgrade
pip install pyspedas --upgrade

Running pytplot

To start using pytplot in a similar manner to IDL tplot, start up an interactive environment through the terminal command:

ipython

or, if you prefer the jupyter interactive notebook:

jupyter notebook

then, just import the package by typing the command:

import pytplot

Contact

If you have any suggestions or notice any problems, don't hesitate to contact Jim Lewis: jwl@ssl.berkeley.edu

The original version of pytplot was developed by Bryan Harter: harter@lasp.colorado.edu

License

Released under the MIT license.

Additional Information

PySPEDAS: https://github.com/spedas/pyspedas

Metadata

Release files for pytplot-mpl-temp 2.2.79

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

Source distribution (sdist)

Source distribution for pytplot-mpl-temp 2.2.79
File Size Uploaded Provenance
pytplot-mpl-temp-2.2.79.tar.gz 1.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytplot-mpl-temp 2.2.79
File Interpreter ABI Platform
pytplot_mpl_temp-2.2.79-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 MB

Release files / pytplot-mpl-temp-2.2.79.tar.gz

Download URL pytplot-mpl-temp-2.2.79.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
715db3c8f98615806df2a35124d67049efc3c22e103f33f43f24660ddfd3806c
BLAKE2b-256 checksum
How to use checksums
fcb2a0f40293eb378f0572c4643d14a918bb5850752f0987687798de9957c413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.18

Release files / pytplot_mpl_temp-2.2.79-py3-none-any.whl

Download URL pytplot_mpl_temp-2.2.79-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
355dcfe652a806db4f1947f8c37207987cf8c370122262824b10c991e96d6dc9
BLAKE2b-256 checksum
How to use checksums
1dce52de3d58f97ed073fb76bf3daf0500a17aa1293da05415ae3825a0090b17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.18

Security for pytplot-mpl-temp 2.2.79

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.

Release history Release notifications | RSS feed

This release

2.2.79 This release

2 release files No provenance

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