Functions for automatic scaling of matplotlib plot axes/resolution to data
Project description
datascale
Functions for automatic scaling of matplotlib line width, marker width, 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 or marker width for line plots and scatter 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 pixels 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
Hashes for datascale-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 221b0b670b30d1424c72e1a160d2aa2f4f4e1ad8dfce4fe95f9dc82b9e8ad510 |
|
MD5 | 114888ecc51dee3f55fee7c6cdd0f794 |
|
BLAKE2b-256 | e538a1e627c9f232d4b347da0e81a28397b11a279f9faf84c6c416c8ab456032 |