-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve relational/categorical legends to show non-semantic properties (
#3467) * Begin refactoring relational legend setup * Move legend creation methods down to base VectorPlotter * Convert RelationalPlotter legend approach to method rather than named attribute * Refactor and update scatterplot legend tests * Add utility function for translating scatter kws to Line2D legend artist * Use line artist for swarmplot legend * Fix accidental change to default stripplot edge color * Update some tests based on new legend artists * Update relational legends * Add some custom kwarg support for relplot legends * Add tests for new legend behavior in categorical module * Add tests for legend syncing in relational module * Make CategoricalPlotter directly inherit VectorPlotter * Handle face/edge better in scatter legends * Allow plotting methods to specify legend attributes * Matplotlib backcompat * Fix legends with semantic_kws * Remove unnecessary legend modification from example * Remove legend_func class attribute
- Loading branch information
Showing
9 changed files
with
580 additions
and
493 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
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
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.