Version 1.0.3¶
(Released: 2025-04-15)
This release improves documentation robustness, fixes bugs found during strict Sphinx builds and testing, refines the dataset API, and enhances visual styling.
Enhancements¶
Enhancement Added synthetic dataset generators:
make_taylor_data(),make_multi_model_quantile_data(),make_cyclical_data(),make_fingerprint_data().Enhancement Added
load_zhongshan_subsidence()with caching and optional downloading.Enhancement Refined dataset API with
as_framefor loaders (e.g.,load_uncertainty_data()) to return aBunchor apandas.DataFrame.Enhancement Refactored model comparison into
kdiagram.plot.comparisonviaplot_model_comparison().Enhancement Added
kdiagram.utils.metric_utilsandget_scorer().Enhancement Added
kdiagram.utils.ioand dataset property helpers inkdiagram.datasets._property(adapted fromgofast).
Bug Fixes¶
Fix Resolved many ReST formatting errors in docstrings across modules (e.g.,
evaluation.py,uncertainty.py,feature_based.py) to pass strict Sphinx builds (-W). Fixed headers, underlines, indentation, lists, footnotes. (#nnn)Fix
plot_feature_fingerprint(): fixedValueErrorduring normalization due to NumPy broadcasting. (#nnn)Fix Dataset loaders (e.g.,
load_uncertainty_data,load_zhongshan_subsidence) now populateq10_cols,q50_cols,q90_colsconsistently in returned Bunch. (#nnn)Fix
plot_relationship(): replacedc=withcolor=for single-color scatter to silence Matplotlib warning. (#nnn)Fix Prevented potential divide-by-zero during normalization in dataset generators and plotting functions.
Fix
download_file_if_missingnow prefers package resources, then cache, then download-to-cache, fixing file location issues. (#nnn)Fix Addressed likely packaging issues in
setup.py(removed internal dependency installs; temporarily hardcoded version) that causedtwine checkmetadata errors. (#nnn)
Documentation¶
Docs Fixed
index.rsterrors aroundsphinx-designdirectives (container :margin:,panels,button-ref :text:). Replaced problematicincludewith inline RST whenmyst-parserfailed. (#nnn)Docs Cleaned numerous small RST warnings (title underlines, toctrees, broken links) across docs.
Docs Restructured Gallery into sub-sections (now linking to
uncertainty.rst,evaluation.rst, etc.).Docs Added “Analysis and Interpretation” sections to all Plot Gallery examples via
topicdirectives.Docs Added User Guide pages for Datasets, Model Comparison, and Motivation; updated UG index. (#nnn)
Docs Linked
CODE_OF_CONDUCT.mdfromCONTRIBUTING.rst.Docs Added
CITING.rstandGLOSSARY.rst.Docs Updated README badges and image sizing; corrected Markdown comments.
Docs Polished utility and compatibility module docstrings with proper attribution.
Docs Enhanced docs theme (
custom.css) with refined palette, improved tables, clearer admonitions, smoother hover effects.
QA¶
Build Updated
docs/requirements.txtand.readthedocs.yml; setfail_on_warning: falsetemporarily.Build Improved CLI (kdiagram.cli) with full argument parsing and better help.
Build Added
CODE_OF_CONDUCT.md.