Functions for automatic scaling of matplotlib plot axes/resolution to data
Project description
datascale
Functions for automatic scaling of matplotlib line width, marker width, fontsize, and resolution to data
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)
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)
To reproduce this image view test() in datascale.py or use
datascale.test()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datascale-1.1.1.tar.gz
.
File metadata
- Download URL: datascale-1.1.1.tar.gz
- Upload date:
- Size: 83.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc76831b984b95fbc11233bc59c15e69cdac89271ddf8149856be25c3d1df36 |
|
MD5 | 053b4e49b2a8810a64b07700e54688d0 |
|
BLAKE2b-256 | a0035d49d52a6c19d944df98a8adedaa73e570c0b80585e0b035cae41fd4d835 |
File details
Details for the file datascale-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: datascale-1.1.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba274d7ba8b34e1f846b343ee2a6d3dc13fcb39aa120284f83e655f2433fa6d |
|
MD5 | 67c50f2948dc929155549516c3b61e51 |
|
BLAKE2b-256 | d2426a0ab6f102ca73389e6c32386ac7290b397d59855ae013f6f44931dcc9cd |