Skip to main content

A Python package for chartly multiple plots.

Project description

chartly Package

GitHub license GitHub release (latest by date) GitHub issues GitHub pull requests GitHub contributors GitHub last commit GitHub commit activity GitHub top language GitHub search hit counter GitHub stars GitHub watchers

chartly is a simple plotting tool designed to help users create scientific plots with ease. Whether you want to test a distribution for normality or to plot contours onto a map of the globe, chartly can help you achieve your scientific plot with minimal effort. Chartly also allows users to plot multiple overlays and subplots onto the same figure.

Project Status

Here's the current status of our workflows:

Workflow Status
Testing Suite Continuous-Integration
Deployment Suite Continuous-Deployment
Sphinx Documentation Sphinx-docs
Guard Main Branch Guard Main Branch
Code Quality Checker Lint Codebase

Components

The chartly's codebase structure is as shown below:

.
├── chartly/
│   ├── base.py
│   ├── chartly.py
│   ├── charts.py
│   └── utilities.py
│   └── tests/
│   │   ├── __init__.py
│   │   └── test_chartly.py
├── docs/
│   ├── __init__.py
│   ├── source/
|   │   ├── conf.py
|   │   ├── index.rst
|   │   ├── Plot.rst
|   │   └── Multiplots.rst
├── requirements/
│   ├── testing.txt
│   ├── staging.txt
│   └── production.txt
├── LICENSE
├── MANIFEST.in
├── README.md
├── requirements.txt
├── setup.py
└── VERSION

Installation

To install chartly, run this command in your command line:

pip install chartly

Example

Here is an example on how to use chartly to plot.

import chartly
import numpy as np

# 1. Define Some Data
data = np.random.randn(100)

# 2. Define the main figure labels
super_axes_labels = {"super_title": "Simple Example", "super_xlabel": "X", "super_ylabel": "Y"}

# 3. Create a chart instance
plot = chartly.Chart(super_axes_labels)

# 4. Customize the plot and the axes
axes_labels = {"linelabel": "Example Line Label"}
customs = {"linestyle": "dashdot", "color": "mediumslateblue"}

# 5. Plot the data
payload = {"plot": "line_plot", "data": data, "axes_labels": axes_labels, "customs": customs}
plot.new_subplot(payload)

# 6. Render the main figure
plot()

Example Output

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

chartly-0.0.2.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

chartly-0.0.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file chartly-0.0.2.tar.gz.

File metadata

  • Download URL: chartly-0.0.2.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for chartly-0.0.2.tar.gz
Algorithm Hash digest
SHA256 31dbe66e366d979d21381663c176c61e851e6f1686d0d8ce9f914d79f3358487
MD5 9a60fa851359dc083b4903b0da125535
BLAKE2b-256 4e0fb0c58e5885d0e1dfe223d9b92c4fc89e90add02c2effc3a738c49e6c6ecb

See more details on using hashes here.

File details

Details for the file chartly-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: chartly-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for chartly-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5920e8492975ec2a99ebd07e15bb6ac47bc082d874d8593368fe18e55cb6866a
MD5 ac387b74f7c2d9c40d54341a56ef85fd
BLAKE2b-256 65bb46d32de6bea52dc09083f80f79805d1d6b165bcfb8bb57bf856aff29fb45

See more details on using hashes here.

Supported by

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