-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Plotting seaborn.FacetGrid compatibility #314
Plotting seaborn.FacetGrid compatibility #314
Conversation
Hi @remrama, Thanks for the PR, great idea! A few comments:
|
1a04367
to
ca595f7
Compare
@remrama I've rebased the PR to master, make sure you |
…ingouin into plotting_free_the_figs
Codecov ReportBase: 98.67% // Head: 98.58% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #314 +/- ##
==========================================
- Coverage 98.67% 98.58% -0.09%
==========================================
Files 18 18
Lines 3312 3320 +8
Branches 537 540 +3
==========================================
+ Hits 3268 3273 +5
Misses 25 25
- Partials 19 22 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@raphaelvallat I think this is good to go? It passes unittests, changelog is updated, and |
:py:method: not working + add ptests to API
@remrama just made some very minor edits to documentation. Merging when the CIs are complete |
This addresses a feature request in #306 to offer more flexibility in pingouin's plotting module. The changes were targeted at making some of the functions useable with the
g.map_dataframe()
method attached to seaborn grids, but they offer more flexibility when used alone as well.The main things:
plt.subplot
and then pass theax
to pingouin)plot_blandaltmann
keyword argumentscatter_kws
and now anykwarg
gets passed through. This was done becausegmap_dataframe
requires the passing of acolor
keyword (andlabel
), and it can be useful at times.fig
through, the default axis that pops up is not always square. So for the few plotting functions that probably should be square (qqplot, circmean), I added anax.set_aspect("equal")
in the docstring examples.If you want to see some arbitrary examples of the use-case I'm talking about: