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.3.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

chartly-0.0.3-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chartly-0.0.3.tar.gz
  • Upload date:
  • Size: 15.3 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.3.tar.gz
Algorithm Hash digest
SHA256 a9821fa2e41c95d0e5f4409a04d0bca7881aa2acb95888454f239ef7036eda56
MD5 a931fbba71e28979fd7119650ebfa080
BLAKE2b-256 6f1dfcc023e1800f23672010876838ce3bfbf6298d8313c4fa73626edad754eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chartly-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e0fc129df83096c088d5083dd180edee6ac2ccf78d273a2702de90fdefa2f3eb
MD5 3963ed7eab78d41971f634fbf04549e4
BLAKE2b-256 6f3cbf8317a9982e7a97c01ef4b9ccf51dd92b532f30192c34d7258377455a9f

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