-
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.
Generalize getting default color from color cycle (#2449)
* Clean up auto-gray code * Add initial versiono of default_color function * Reenable swarmplot mandaatory kwarg warning deprecator * Expand flexibility of supported scatter coloring kwarg * Change logic of scatter-based coloring to post-proccess mpl object * Test default and specified colors * Rework how shared strip/swarm tests work * Test user-supplied color array with swarm/strip plot * Address failures on pinned tests * Use centralized default_color function in scatterplot * Use default_color function in lineplot * Use general default color function for kdeplot, rugplot, and ecdfplot * Use default_color function in histplot * Get default color after attaching axes * Mark kdeplot datetime autoscale test as xfail due to matplotlib bug * Fix logic of color tests * Workaround empty fill_between datetime autoscale bug Fixes #2133 on newer matplotlibs * More backcompat and edge casing * Add color tests for distribution module * Fix bar hist legend artists * Mute color with hue warning for now
- Loading branch information
Showing
8 changed files
with
558 additions
and
314 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
Oops, something went wrong.