rainbowline
A simple library for plotting lines with color gradients in matplotlib.
Usage
The function rainbow_line() has the following arguments:
x: the x values to ploty: the y values to plotc: the values to map to a color using the specifiedcmap. If not provided, the index of x or y will be used if possible.cmap: (optional) colormap to apply to thecvalues. Defaults to 'jet'.norm: (optional) normalization forcvalues. If not given, the min and max values ofcwill be used. One of the following:- matplotlib norm object.
- float or int: in this case, values will be normalized to the range (0, norm)
- tuple defining the min and max values to which to normalize
ax: (optional) matplotlib Axes object on which to plotautoscale_view: whether to scale the axes to the extents of the plot. Default True.**kwargs: (optional) kwargs which will be passed to matplotlibLineCollectionconstructor.
Metadata
Release files for rainbowline 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rainbowline-0.0.1.tar.gz | 57.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rainbowline-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.0 kB
Release files / rainbowline-0.0.1.tar.gz
| Download URL | rainbowline-0.0.1.tar.gz |
|---|---|
| Size | 57.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02b402472d763a48b2ffd88f387e974b5340f5e94ac257144e18004080b51ee0
|
|
BLAKE2b-256 checksum How to use checksums |
74b5fd14cea51bf7ce76b8c09a23c72d7017d4d7ef84b02c2043a70f1bd25f8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.8
|
Release files / rainbowline-0.0.1-py3-none-any.whl
| Download URL | rainbowline-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b734802350e796fe7799d3ef0be41966595536d9d3f860079db3f7192aaaf936
|
|
BLAKE2b-256 checksum How to use checksums |
078e274094745cf38263f326f08725efe11e163c37de882fded18939e0e3bcb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.8
|