forked from mwaskom/seaborn
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seaborn original #1
Merged
Merged
Conversation
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
Pre-release housekeeping
This enables use of tight_layout within clustermap. Ideally most plots will now have everything in the figure and looking nice out of the box. It uses a somewhat hacky approach that should be revisted as constrained_layout matures. Also updates the docs a little bit and adds a rule where cbar_pos=None implies that no colorbar will be drawn.
[ci skip]
More improvements to clustergrid layout
This should avoid subtle bugs that could crop up when comparing against the wrong form (e.g. "category" instead of "categorical"). There might be a built-in way to do this, but I couldn't find it...
* Proof of principle refactored stripplot passing all tests * Improve handling of categorical dates * Improve automatic categorical orientation with dates * Add more continuous datetime variable to long_df fixture * Begin updating stripplot tests * Update more stripplot tests * Add test for single strip, with hue * Fix infer_orient argcheck * Add tests for flat and wide data in stripplot * Refactor hue backcompat into a plotter class method, make optional * Enable new default coloring rules in stripplot * Update catplot to use new stripplot function * Update assert_plots_equal to test all collections * Clean up some comments * Remove old stripplot code * Fix typo * Add explicit categorical order to VectorPlotter._attach * Modify the implementation of categorical data handling to permit unshared facets * Improve integration of axis converters with unshared facet grids * Fix ordering by category dtype * Fix catplot point sizes * Add (un)fixed_scale * Fix plot equality assertion * Disable tests that hit matplotlib bug due to incomplete implemenation * Improve test coverage * Move forced/ordered categorical scaling logic to core * Add core-level tets for scale method(s) * Reduce use of special attributes, add formatter and hue_norm * Update stripplot API examples * Re-enable kwarg deprecation warning * Fix log scaled stripplot * Fixed log-scaled categorical axis * Don't jitter single strips
* WIP making swarmplot dynamically update the swarm * Move beeswarm algorithm into distinct class * Remove old swarm algorithm methods * Update beeswarm algorithm to use pointwise sizes * Force figure draw in swarmplot tests to activate swarm algorithm * Use exact original value axis data * Update swarmplot tests and release notes * Fix tets
* Refactor swarmplot to match new stripplot (copying too much code) * Refactor some shared components of swarm and strip plot * Add dropna logic to iter_data * Don't try to swarm empty collection * Fix rst syntax * Improve droopna logic and copy dataframe to avoid warnings * Fix bug with jitter on empty category * Remove original swarmplot code * Transition catplot with kind='swarm' to new code * Add more swarmplot tests * Fix small test issues * Mark a puzzling pinned test failure as xfail * Delay log scale query in beeswarm until draw time * Fix single point jitter * Added control over the swarmplot warning with warn_thresh * Update datalim and force autoscale at draw-time * Update swarmplot API examples * Refactor common parts of strip and swarm plot tests * Always update datalim while swarming
* 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 mwaskom#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
* Set alpha properly on unfilled hist/kde plots Fixes mwaskom#2450 * Fix typo in kdeplot docstring * Generalize color comparison
* Add percent-based normalization in histplot * Test bivariate normalization
* Fix multiple resolution when hue variable has no name Fixes mwaskom#2452 (cherry picked from commit 008f7e0e030681f8047c7d628e6bb3fc3d23e6ff) * Remove unused kwarg * Don't try to resolve multiples if there aren't any * Simplify logic that ignored multiple when no hue was assigned * Fix typo and remove outdated comment
* Don't fail when docstrings have been stripped by -OO mode Fixes mwaskom#2470 * Fix comment * Clarify language
The code for shifting the shrunken bars assumed that discrete binning was in effect. This is probably the only situation where shrinking really makes sense, but there was no prevention or warning of getting an innacurate result when using it with continuous bins. Fixes mwaskom#2476
.. this will help with inter sphinx warnings.
* Don't pass a set object to ListedColormap Addresses the issue in matplotlib/matplotlib#19544 * Handle multiple LineCollection color kwargs * Test side colors size homogeneity test
* Improve log_scale parameter documentation Partly addresses mwaskom#2454 * Fix log-scaled ecdf plots (fixes mwaskom#2502) * Fix log-scaled rug plot
…askom#2522) * Fix histplot auto linewidth on log scaled axis Fixes mwaskom#2513 * Fix auto linewidth for categorical histograms on the y axis Fixes mwaskom#2523
* Update docs/readme with links to joss paper * Remove Zenodo DOIs * Mention JOSS paper in v0.12 release notes
…ot in stripplot (mwaskom#2548) * DOC: clarify how to derive value for dodge param * DOC: fix typo develpoment -> development
Typos, non-existing parameters, and the fact that space before colon in parameters is necessary for numpydoc to correctly parse the name and type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.