--- id: mizani version: "0.14.4" license: Copyright (c) 2016, Hassan Kibirige All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:… (full text in the JSON record) license_treatment: permissive maintenance: aging --- # mizani — Scales for Python License: permissive · Maintenance: aging · Downloads: 3.4M/mo ## What it is and what it does Mizani is a scales library for Python graphics, inspired by Hadley Wickham's R Scales package. It provides tools to map data values to visual properties—colors, positions, sizes—and to format axes and legends. The package handles continuous and discrete scales, data transformations, and formatting functions that graphics systems need to render plots correctly. It is typically used as a backend component in visualization libraries rather than directly by end users. The package depends on numpy, scipy, pandas, and tzdata to perform numerical transformations and handle time-zone-aware date formatting. With low install friction and support for Python 3.10+, it integrates cleanly into graphics pipelines that need robust, reusable scale logic. Use it for: - Format axis labels and legends in a custom graphics system or plotting library. - Transform data values (log, sqrt, date) for visualization without modifying the original dataset. - Generate color scales and palettes for multi-dimensional data visualization. - Handle timezone-aware date formatting in time-series plots. - Standardize scale behavior across multiple chart types in a graphics framework. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Mizani provides scales and transformations for graphics systems, handling data mapping, formatting, and axis/legend generation for visualization libraries. Yes, if you are building or extending a graphics library that needs production-grade scale and formatting logic. No, if you are a data analyst looking for a direct plotting tool—use plotnine or matplotlib instead. The aging maintenance status and minimal recent activity suggest it is stable but not actively developed; evaluate whether you need active upstream support. ## Install pip install mizani uv add mizani poetry add mizani ## Installing mizani Before you install: Low friction installation with a pure Python wheel. Maintenance is aging—last release was 198 days ago and the repository shows minimal recent activity, though it remains active and not archived. License in practice: BSD License (permissive) allows commercial and private use with minimal restrictions; you must retain copyright and license notices in distributions. Quickstart: pip install mizani from mizani.scales import scale_continuous from mizani.formatters import date_format # Use scales and formatters in your graphics pipeline scale = scale_continuous() formatter = date_format('%Y-%m-%d') Requires Python 3.10 or later; depends on numpy, scipy, pandas, and tzdata. Verify before relying: - Whether mizani is actively used in production graphics libraries or primarily in plotnine/ggplot2-style systems. - Performance characteristics when handling large datasets or complex scale transformations. - Compatibility with the latest versions of scipy and pandas beyond what classifiers declare. ## Package facts - License: Copyright (c) 2016, Hassan Kibirige All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 3.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags scales for graphics, data transformation visualization, axis formatting, legend generation, graphics scales python, visualization-backend, data-transformation [View on SkillFed](https://skillfed.io/packages/mizani) · [View on PyPI](https://pypi.org/project/mizani/)