nc-time-axis
Provides support for a cftime axis in matplotlib
Decision gist · record as of 2026-08-14
Yes. If you work with climate, weather, or earth science data in netCDF format, this package solves a real friction point—plotting cftime objects directly without conversion. It has low install friction, no vulnerabilities, permissive licensing, and active maintenance. If you don't use cftime calendars, it adds no value.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation as a pure Python wheel.
- Actively maintained with recent commits; last release was in 2022 but repository remains active with ongoing development.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause permissive license allows use in commercial and private projects with minimal restrictions beyond attribution.
last release 2022-04-20 (1577 days) · last repo commit 2026-08-08 · 59 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 184,419 downloads/mo, #10,038 on PyPI
Alternatives
Verify before relying
pip install nc-time-axis
import cftime
import matplotlib.pyplot as plt
import nc_time_axis
dt = [cftime.datetime(2017, 2, day, calendar="360_day") for day in range(1, 31)]
plt.plot(dt, [1, 2, 3]) # cftime objects now work on x-axis
plt.show()- Whether the package handles all cftime calendar types or only a subset of the calendars supported by cftime itself.
- Performance characteristics when plotting large datasets with non-standard calendars.
- Support for calendar types beyond 360-day calendars.
What it is and what it does
nc-time-axis is a small integration layer that teaches matplotlib how to handle cftime datetime objects on plot axes. It's designed for scientists and climate modelers who work with data from netCDF files, which often use non-standard calendars that standard Python datetime cannot represent. The package registers cftime objects as a valid matplotlib axis type, so you can pass them directly to plot functions without manual conversion.
The package depends on cftime for calendar handling, matplotlib for plotting, and numpy for array operations. It's actively maintained, supports Python 3.7 and later, and has no known security vulnerabilities. Installation is straightforward via pip or conda, and it requires no system dependencies or configuration.
Use it for
- Plot climate model output with non-standard calendars directly from netCDF files without converting to standard datetime.
- Create time-series visualizations of weather or oceanographic data that use non-Gregorian calendars.
- Automate axis formatting for scientific publications involving climate or paleoclimate data.
- Build data exploration notebooks for earth science research where cftime objects are native to the data source.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
If you work with climate, weather, or earth science data in netCDF format, this package solves a real friction point—plotting cftime objects directly without conversion. It has low install friction, no vulnerabilities, permissive licensing, and active maintenance. If you don't use cftime calendars, it adds no value.
Install
nc-time-axis on PyPI
Before you install
Low friction installation as a pure Python wheel. Actively maintained with recent commits; last release was in 2022 but repository remains active with ongoing development.
License in practice
BSD 3-Clause permissive license allows use in commercial and private projects with minimal restrictions beyond attribution.
Quickstart
pip install nc-time-axis
import cftime
import matplotlib.pyplot as plt
import nc_time_axis
dt = [cftime.datetime(2017, 2, day, calendar="360_day") for day in range(1, 31)]
plt.plot(dt, [1, 2, 3]) # cftime objects now work on x-axis
plt.show()
Verify before relying
- Whether the package handles all cftime calendar types or only a subset of the calendars supported by cftime itself.
- Performance characteristics when plotting large datasets with non-standard calendars.
- Support for calendar types beyond 360-day calendars.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescftimematplotlibnumpy |
| Maintenance | Actively maintained 1,577 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 184,419 / month, #10,038 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering |
Evidence: nc_time_axis-1.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cftime matplotlib axis”
- nc-time-axisEnables matplotlib to plot data using cftime calendar objects on the…
- timpleTimple extends Matplotlib with locators and formatters for plotting…
- koreanize-matplotlibAutomatically configures matplotlib to display Korean text correctly…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also cftime · timple · cmweather · matplotlib-inline · fiscalyear · cf-units · tkcalendar · x-wr-timezone · workadays · convertdate