- bump up numpy versions to 1.23.5, add pandas
- plot array with discrete bounds takes the bounds as a parameter
- bump up versions
- add serapeum_utils as a dependency
- bump up numpy to version 1.24.1
- 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.
- change the default value for the color bar label.
- pass the plot kwargs to the init of the array to scale the color bar using the vmin and vmax.
- Add a colors module to handle issues related to
- Converting colors from one format to another
- Creating colormaps
- add extent to the array plot.
- Add extent to the array plot when plotting an rgb array.
- Add
ax
, and fig
parameters to the Array
constructor method to take an Axes and plot the array on it.
- Add
__str__
to the Array
class.
- rename the
Array
class to ArrayGlyph
.
- add
scale_percentile
method to the Array
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 the plot
method to plot the array.
- rename the
get_rgb
to to_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.
- the ArrayGlyph constructor uses a masked array instead of a numpy array.
- replace the setup.py with pyproject.toml
- convert the documentation to use mkdocs instead of sphinx.
- remove the CI test workflow based on conda.
- test the jupyter notebook in ci.
- add a config file to the package to handle the configuration of the matplotlib backend.
- in the init.py file, load the config file and set the matplotlib backend to
Agg
.
- rename the statistics module to statistical_glyph.
- move creating the ax, and fig from the constructor to the
plot
/animate
methods .
- create
arr
property to access the array data.
- create
apply_colormap
method to apply a colormap to the array.
- create
to_image
method to convert the array to an RGB image.
- create
scale_to_rgb
method to scale the array to RGB values.
- create
adjust_ticks
method to adjust the plot ticks.
- add
get_color_map
function to create a color map from a list of colors.
- make the
_is_valid_rgb_norm
, and _is_valid_rgb_255
protected and the public method is only is_valid_rgb
.
- make the
_is_valid_hex_i
protected and the public method is only is_valid_hex
to process single value and lists.
- create a
create_from_image
function to create a color map from an image.