Skip to main content

Program for creating simple hive plots in python using multidimensional arrays.

Project description


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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timshive-0.1.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

timshive-0.1.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file timshive-0.1.4.tar.gz.

File metadata

  • Download URL: timshive-0.1.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for timshive-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2af444342ff4d22b33e79b0c90c1dbe465e6aad1132b6f1bc4ce401e9c634530
MD5 44e467c74e7c7e09ab14fe7d6445e759
BLAKE2b-256 8f65eb1c63f571f4ec6601f45fb603b5b8f5943fec13c835f6eb52b5d0c32184

See more details on using hashes here.

File details

Details for the file timshive-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: timshive-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for timshive-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7df6a50b2a280184d33c0b9eb1fa66d32f3b50c96e6f3bc78c831d4d75ec9d
MD5 00d60a46e664bc6e7588e1e074a8ad3a
BLAKE2b-256 a6dbe98d1321069d8070b8bbe517e696f496cdfec0bd451242ac2e52739fa351

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page