Skip to main content

Ideal Forms

"Some charts I prepared earlier."

Matplotlib charts formatted according to The Data Visualization Catalogue.

Install

pip install idealforms

Bar

from idealforms.bar import bar
from idealforms.formatters import money_formatter

categorical_data = dict(apples=500000,
                        oranges=1200000,
                        mangos=2200005)

fig, ax = bar(categorical_data,
              x_label='revenue',
              y_label='fruit',
              title='Fruit Revenue',
              formatter=money_formatter)

ideal bar chart image

Pie

import matplotlib.pyplot as plt
from idealforms.pie import pie
from collections import Counter
my_pi = "3.1415926535897"
pi_digits_count = Counter(str(my_pi).replace('.',''))

fig, ax = pie(
    pi_digits_count, 
    title='Py Pi Pie', 
    reverse_color_order=True,
    largest_color='xkcd:macaroni and cheese',
    figsize=(4,4)
)
plt.show()

ideal pie chart image

Metadata

Release files for idealforms 0.0.14

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

Source distribution (sdist)

Source distribution for idealforms 0.0.14
File Size Uploaded Provenance Actions
idealforms-0.0.14.tar.gz 72.0 kB Without provenance Details for idealforms-0.0.14.tar.gz

Built distribution (wheel)

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

Total release size: 79.1 kB

Release files / idealforms-0.0.14.tar.gz

Download URL idealforms-0.0.14.tar.gz
Size 72.0 kB
Tags Source
SHA-256 checksum
How to use checksums
053550d69de09e5d494e29484bda5f30232e8a5138e0afcbb8cc4e5a6f46c041
BLAKE2b-256 checksum
How to use checksums
e2ec42b2172cd6a03e7f506a0bc9d6d6bd9058dd0bffeeebd6bb974a8463c90a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / idealforms-0.0.14-py3-none-any.whl

Download URL idealforms-0.0.14-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e434f7dd1a4e97e0c19dd3048098280dde084c7ccf18c81ca424524b2f9a85db
BLAKE2b-256 checksum
How to use checksums
dccb31d5d86f91646f560e02e12b63f2eaf2c28e7187b278565c410bcce06d16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for idealforms 0.0.14

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