visualization package
Project description
Current release info
Name | Downloads | Version | Platforms |
---|---|---|---|
cleopatra - matplotlib utility package
cleopatra is a Python package providing fast and flexible way to build visualize data using matplotlib. it provides functionalities to handle 3D arrays and perform various operations on them, such as plotting, animating, and displaying the array. it also provides functionalities for creating statistical plots,
Main Features
The Array
class has the following functionalities:
- Initialize an array object with the provided parameters.
- Plot the array with optional parameters to customize the appearance and display cell values.
- Animate the array over time with optional parameters to customize the animation speed and display points.
- Display the array with optional parameters to customize the appearance and display point IDs.
The Statistic
module provides a class for creating statistical plots, specifically histograms. The class, Statistic
,
is designed to handle both 1D (single-dimensional) and 2D (multi-dimensional) data.
Installing cleopatra
Installing cleopatra
from the conda-forge
channel can be achieved by:
conda install -c conda-forge cleopatra
It is possible to list all the versions of cleopatra
available on your platform with:
conda search cleopatra --channel conda-forge
Install from GitHub
to install the last development to time, you can install the library from GitHub
pip install git+https://github.com/Serapieum-of-alex/cleopatra
pip
to install the last release, you can easily use pip
pip install cleopatra==0.5.1
Quick start
>>> import cleopatra
======= History
0.1.0 (2022-05-24)
- First release on PyPI.
0.2.4 (2022-12-26)
- bump up numpy versions to 1.23.5, add pandas
0.2.5 (2022-12-26)
- plot array with discrete bounds takes the bounds as a parameter
0.2.6 (2023-01-31)
- bump up versions
- add serapeum_utils as a dependency
0.2.7 (2023-01-31)
- bump up numpy to version 1.24.1
0.3.0 (2023-04-11)
- change API to work completly with numpy array inputs
- chenge to conda config
- add hpc-utils to filter and access arrays
- restructure the whole modules to array, statistics, and styles modules.
- all modules has classes.
- save animation function using ffmpeg.
0.3.1 (2023-04-17)
- plot RGB plots
0.3.2 (2023-04-23)
- bump up hpc version
0.3.3 (2023-04-25)
- change the default value for the color bar label.
0.3.4 (2023-04-26)
- pass the plot kwargs to the init of the array to scale the color bar using the vmin and vmax.
0.3.5 (2023-8-31)
- Update dependencies
0.4.0 (2023-9-24)
- Add a colors module to handle issues related to
- Converting colors from one format to another
- Creating colormaps
0.4.1 (2024-1-11)
- add extent to the array plot.
0.4.2 (2024-06-30)
- Update dependencies
0.4.3 (2024-07-13)
- Add extent to the array plot when plotting an rgb array.
- Add
ax
, andfig
parameters to theArray
constructor method to take an Axes and plot the array on it. - Add
__str__
to theArray
class.
0.5.0 (2024-07-22)
ArrayGlyph ^^^^^^^^^^
- rename the
Array
class toArrayGlyph
. - add
scale_percentile
method to theArray
class to scale the array using the percentile values. - the
statistic.histogram
can plot multiple column array. - change the
color_scale
values to be string (linear
, "power", ...) - the
kwargs
can be provided to the constructor or theplot
method to plot the array.
Colors ^^^^^^
- rename the
get_rgb
toto_rgb
- add
get_type
to get the type of the color. - add
to_hex
to convert the color to hex. - add
to_rgb
to convert the color to rgb.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cleopatra-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624c47f7d95194657a4e02a49d1d3b208ccbf11db733d3717cb3eded7d097782 |
|
MD5 | b6ac58a14639f4f18e3d996b5994a30f |
|
BLAKE2b-256 | 4d4d500c731b8bb24fd1c35ebcd0ed9d371b5bd052182a0bf9787c0ca5809934 |