Tim's Hive (timshive)
By TimC July 2019 Version 1.0.0
Use: create class 'hive' with inputs:
points: a two dimensional list where the first dimension represents each axis you wish to draw and the second represents the points on each axes. eg. to plot a hive with three axes each containing points 2 and 3, you would use [[2,3],[2,3],[2,3]] as the input value for points
colors: one dimensional list of all colors that corresponds to the first, second third, point in each list. Using the last example, if ['green','red'] was entered in the color field given the same points input, all of the twos would show up as green and the threes as red. If the length of any axes exceed the length of colors, all points will be filled in as black
kwargs:
range: this gives the value to which the axes should be drawn. Assumed to round up to the nearest 10 unless another value is given
labels: used to give the text associated with each color if a key is desired. Entering labels = ['Set 1','Set 2'] for the previous example would produce a key in which green is labeled as 'Set 1' and red is labeled as 'Set 2'
axlab: the label given to each axis. If string, will be applied in order as string 1 , string etc. if it is a list, each item in the list will be used in order. if not enough conditions are given, axes will be unlabeled
function 'hive.show(title,name)' takes two string inputs:
title: what words should appear at the top of the graph
name: what the file should be called. Do not include extensions
Output examples at PyPI.
Metadata
Release files for timshive 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| timshive-0.1.4.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| timshive-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / timshive-0.1.4.tar.gz
| Download URL | timshive-0.1.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2af444342ff4d22b33e79b0c90c1dbe465e6aad1132b6f1bc4ce401e9c634530
|
|
BLAKE2b-256 checksum How to use checksums |
8f65eb1c63f571f4ec6601f45fb603b5b8f5943fec13c835f6eb52b5d0c32184
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / timshive-0.1.4-py3-none-any.whl
| Download URL | timshive-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a7df6a50b2a280184d33c0b9eb1fa66d32f3b50c96e6f3bc78c831d4d75ec9d
|
|
BLAKE2b-256 checksum How to use checksums |
a6dbe98d1321069d8070b8bbe517e696f496cdfec0bd451242ac2e52739fa351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|