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 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
Hashes for datascale-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8550b315f3494e1a46fed38a3f7778fe92f49d47223dde444e74a0fb5047faca |
|
MD5 | f85ab5dabafee7350697e777d3ec2a70 |
|
BLAKE2b-256 | 6bd12a567105dca55779bcab6f5a21fd10c6cb1d15a2ed79c8cd93001ecbbe5a |