Changelog for ausankey
2025-09-04 v1.8
- Add parameter
label_value_sep. - Add parameter
label_path_effects. - Add parameter
sankey_sort.
2025-01-16 v1.7
- Add parameter
label_largest.
2025-01-11 v1.6
- Remove redundant
_valsuffix in various...thresh_valparameters. - Change
...thresh_sumparameters to...thresh_ofsum— I kept stumbling over the previous name. Some more parameters of this type added as well. - Add some
..._thresh_ofmaxparameters which act on the maximum of the node sums for each stage. - For consistency change the current
...thresh_maxparameters to...ofmaxand change their logic accordingly — their old definitions seemed of marginal better in practice.
2024-12-08 v1.5
- Set xticks and xticklabels in case sankey plot is used with
ax.axis("on") - Add additional labelling feature to annotate nodes with their relative percentages. A variety of customisation options.
- Add
value_duplicate = Falseto avoid redundant labelling. - Add
label_threshto turn off labels for nodes below a certain size. - Add
value_fn, as alternative tolabel_format, which allows more generalised formatting of each value using a lambda function. - Add values to node labels when
label_values = True. - Allow NaN or None when flows terminate.
2024-05-29 v1.4
- Fix alignment bug when nodes were changing their label and stopping/starting.
- Fix title alignment bug when second-to-last and last stages had different nodes on top.
- Add
topoption forlabel_loc. - Start a doc page to collate some examples.
- Substantial code refactoring (which I sometimes worry is closer to obfuscation).
2024-04-07 v1.3
- Add
value_locoption to control printing of numeric values of flows. Several accompanying options control the typesetting, etc. - Add
label_duplicateoption to avoid printing redundant labels. - Add
other_thresh_XXoptions to allow recategorisation of entries with values below a certain threshold. - Add
sort_dictoption to override sort order for individual labels. - Internal code changes using OOP methods to tidy up.
2024-03-25 v1.2.1
- Label alignment bug fix (not sure how it slipped through).
- Fixing it involved some nice tidy-up of the code.
- Took the opportunity to flesh out the documentation a little.
2024-03-25 v1.2
- Many more configuration options. (E.g., edges around flows/nodes, transparency of nodes, properties of label and title text, alignment of labels, …)
- Now allows flows that start and stop (which work with sorting).
- Reference documentation added to supplement the user documentation.
- Some breaking changes but no-one is using this besides me, right?
2024-03-14 v1.1
- Change package name from
auSankeytoausankeyto match Python standards - All
mixedCaseoptions converted tosnake_case - Package management updated to
pypackage.tomland build system now useshatch - Repository tidied up
2024-03-12 v1.0
- Initial release