Skip to main content

A Python script to plot normalized histogram using Python3-Matplotlib

Project description

matHist

Plot histogram using Matplotlib

matHist is a Python package to plot normalized histogram using Matplotlib.

It reads a data file which has only one column with a string as header. It the data file doesn't contain a header, it will skip the first line.

Contributor

Installation

Prerequisites

  1. python3 or higher
  2. Python3-numpy
  3. Python3-matplotlib

Using PyPI

Use the package manager pip to install matHist.

pip install matHist

Using source code

git clone https://github.com/sumitavakundu007/matHist.git
tar -xvf matHist-X.X.X
cd matHist-X.X.X
python3 setup.py install --user

Usage

import matHist
matHist.mat_hist_func("input_file.dat", "output_file.png") 

It will ask for few inputs to plot histogram like number of bins (bins), bar width, histogram color etc.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

[MIT](https://choosealicense.com/licenses/mit/

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

matHist-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

matHist-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file matHist-0.1.1.tar.gz.

File metadata

  • Download URL: matHist-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.8.0 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for matHist-0.1.1.tar.gz
Algorithm Hash digest
SHA256 824d873073f41edcb0e8e284344a6bde0415248d5a5268702f3cf7dfea9779e0
MD5 99c78098e33f002a3b04b0177382461d
BLAKE2b-256 d718fb26a99d5be9bbc5618da267f4f61db8a1c853b04f440754134ff189d2b1

See more details on using hashes here.

File details

Details for the file matHist-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: matHist-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.8.0 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for matHist-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c21c323f81e4df69869fbb3e624628925f34cbcfb27bddcbd7943273631fb25
MD5 812828aa99746d7b56d225254510e183
BLAKE2b-256 90b0536a89cad4c61701468e54ed6f32d1b69923d1314e916fc2965bdaf4d393

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