v2.0.1
This is a minor patch of votekit
. It fixes minor bugs in the slate methods, adapts to the new csv format in the scot-elex repo, and updates some plotting functions.
Added
- Created a read the docs page.
- Add
scale
parameter toballot_graph.draw()
to allow for easier reading of text labels. - Allow users to choose which bloc is W/C in historical Cambridge data for CambridgeSampler.
Changed
- Updated tutorial notebooks; larger focus on slate models, updated notebooks to match current codebase.
- Removed the seq-RCV transfer rule since it is a dummy function, replaced with lambda function.
- Update plot MDS to have aspect ratio 1, remove axes labels since they are meaningless in MDS.
- Update all BLT files in scot-elex repo to be true CSV files, updated
load_scottish
accordingly. #123 #129
Fixed
- Fixed bug by which slate-PlackettLuce could not generate ballots when some candidate had 0 support. #131
- Updated various functions in the ballot generator module to only generate ballots for non-zero candidates.
- Fixed one bloc s-BT pdf, which was incorrectly giving 0 weight to all ballot types.
Full Changelog: v2.0.0...v2.0.1