Repository navigation
Releases: cjcscheper/cjcplot
Releases · cjcscheper/cjcplot
Release list
v0.2.0
[0.2.0] - 2026-10-20
Added
CHANGELOG.md, a release badge and a pinned-version install command in the README.
Changed
- Breaking:
colormapis now written out in names:colors_from_cmap→
colors_from_colormap,style_diverging_cmap→style_diverging_colormap, and in
a style'scolors.pyDEFAULT_CMAP→DEFAULT_COLORMAP,DIVERGING_CMAP→
DIVERGING_COLORMAP. The exampleexample_colors_from_cmap.pyis now
example_colors_from_colormap.py. Keyword arguments keep matplotlib'scmap=. - The version now lives only in
src/cjcplot/__init__.py;pyproject.tomlreads it from there. - README: example images centred one per row, in a new order; the figure-size
section now covers LaTeX, Word, PowerPoint and other documents; the quick
start passesx_data=andy_data=and explains how to switch to your own
style. - Tests: every test has a docstring, and non-obvious lines a comment.
- Fuller explanations of the per-trace helpers and
POINTS_PER_INCHin_figure.py. - The histogram example uses more samples and finer bins, so it looks smooth.
- AGENTS.md: rules for keeping tests, docs and this changelog up to date.
Fixed
- Type hints for
xlim/ylimandlegend_locnow match matplotlib's, so editors
such as PyCharm no longer warn;legend_localso autocompletes its allowed values. - The same for
histtypeinplot_histogram_1dandshadinginplot_2d.
v0.1.0
[0.1.0] - 2026-10-16
First release.
Added
plot_1d,plot_histogram_1dandplot_2d, sized as fractions of a
document's text width;plot_3das a placeholder.- Switchable styles (
use_style,available_styles,style_colors), with the
bundledcjcstyle applied on import. - cjc colormaps:
reds_cjc,blues_cjc,bluered_cjc(diverging), and
blueyellow_cjc,yellowblue_cjc,yellowred_cjc,redyellow_cjc. colors_from_cmapto sample line colours from a colormap.- Colormap tools:
truncate_colormap,colormap_from_colors,
join_colormaps,register_colormap. - Tests, examples and a GitHub Actions workflow.