Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor variable processing (#2071)
* Add initial common function for processing long-form inputs * Attempt to use new core variable processing for longform relational plots * Create and ignore a directory for notes * Move relational plots to use common variable processing * Refactor establish_variables method into core * Allow relational plots to use wide lists of lists * Change base class to _VectorPlotter * Add initial attempt at generalized wide data processing * Modify tests for new intermeidate wide-form data representation * Remove relational-specific wide data processing * Fold relplot tests under TestRelationalPlotter * Move tests for core variable processing * Revert test reorganization; PEP8 and clean up names * Add tests for wide dict inputs * Pandas compat * Modernize numpy random usage in test fixtures * Fix docstring and comments * Use containment checks rather than KeyError handling * Improve test coverage for long data and messy wide data * Test variables from dataframe index * Flesh out wide data docstring * Return variables dict along with plot_data df * First attempt at generalizing relplot inputs * Refactor and parametrize flat variables tests * Test at base class level * Test relplot from wide data and long vectors * Fix test
- Loading branch information
Showing
6 changed files
with
1,497 additions
and
830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ cover/ | |
.idea/ | ||
.vscode/ | ||
.pytest_cache/ | ||
notes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.