Skip to main content

datascale

Functions for automatic scaling of matplotlib line width, marker width, fontsize, and resolution to data


Downloads
PyPI version

Installation

pip install datascale

or

pip install git+https://github.com/benkrichman/datascale.git@main

Main Functions

plotdatasize()

Scale line width, marker width, or fontsize for plots to correspond directly to the scale of data on either/both plot axes. For more detail see help output:

help(datascale.plotdatasize)

plotdatasize() example

To reproduce this image view test() in datascale.py or use

datascale.test()

plotdatadpi()

Scale dpi of output image to produce a certain number of points per data unit on either/both plot axis/axes. Useful for plots that need a certain amount of detail per axis unit (e.g. geographic projections). For more detail see help output:

help(datascale.plotdatadpi)

plotdatadpi() example

To reproduce this image view test() in datascale.py or use

datascale.test()

Release files for datascale 1.1.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 datascale 1.1.1
File Size Uploaded
datascale-1.1.1.tar.gz 83.6 kB Details

Built distribution (wheel)

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

Total release size: 89.2 kB

Release files / datascale-1.1.1.tar.gz

Download URL datascale-1.1.1.tar.gz
Size 83.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5dc76831b984b95fbc11233bc59c15e69cdac89271ddf8149856be25c3d1df36
BLAKE2b-256 checksum
How to use checksums
a0035d49d52a6c19d944df98a8adedaa73e570c0b80585e0b035cae41fd4d835
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / datascale-1.1.1-py3-none-any.whl

Download URL datascale-1.1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ba274d7ba8b34e1f846b343ee2a6d3dc13fcb39aa120284f83e655f2433fa6d
BLAKE2b-256 checksum
How to use checksums
d2426a0ab6f102ca73389e6c32386ac7290b397d59855ae013f6f44931dcc9cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

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