This is now fully typed. This is especially helpful with the param dicts which were being passed as kwargs to matplotlib, but were also being modified within daft prior to being passed on.
In addition, I've refactored the PGM, Node, Edge, and Plate into separate files, and resolved circular dependencies resulting from exports. Some of the names from the recent refactor were changed to conform to more common Python style.
Lastly, one of the tests was in error, testing wordy.png twice. I've fixed this.
This is now fully typed. This is especially helpful with the param
dict
s which were being passed askwargs
tomatplotlib
, but were also being modified withindaft
prior to being passed on.In addition, I've refactored the
PGM
,Node
,Edge
, andPlate
into separate files, and resolved circular dependencies resulting from exports. Some of the names from the recent refactor were changed to conform to more common Python style.Lastly, one of the tests was in error, testing
wordy.png
twice. I've fixed this.