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

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(): fixed ValueError during normalization due to NumPy broadcasting. (#nnn)

  • Fix Dataset loaders (e.g., load_uncertainty_data, load_zhongshan_subsidence) now populate q10_cols, q50_cols, q90_cols consistently in returned Bunch. (#nnn)

  • Fix plot_relationship(): replaced c= with color= 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_missing now 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 caused twine check metadata errors. (#nnn)

Documentation

  • Docs Fixed index.rst errors around sphinx-design directives (container :margin:, panels, button-ref :text:). Replaced problematic include with inline RST when myst-parser failed. (#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 topic directives.

  • Docs Added User Guide pages for Datasets, Model Comparison, and Motivation; updated UG index. (#nnn)

  • Docs Linked CODE_OF_CONDUCT.md from CONTRIBUTING.rst.

  • Docs Added CITING.rst and GLOSSARY.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.txt and .readthedocs.yml; set fail_on_warning: false temporarily.

  • Build Improved CLI (kdiagram.cli) with full argument parsing and better help.

  • Build Added CODE_OF_CONDUCT.md.