Replies: 9 comments 4 replies
|
Related issues: #49, webermarcolivier/statannot#50 |
|
+1 for an option that would help creating a cleaner plot. An alternative could be to specify if you want non significant results to 'show', 'mute' or 'hide'. Muting would be to show them with 50% opacity so they don't draw attention, but there still is a visual indication that test has been performed. Though that might open up an avenue for additional options how to style the muted comparisons ... |
|
Could someone please share sample code of the current workaround to hide non-significant results? Some of the comments to related issues are outdated I think. |
|
Not a full example, but the code here is a good start. In the section Visualizing the results, if you filter non-significant results out of molten_df they won't show up in the plot. |
|
+1 as well for this feature. Would be nice to just include an argument in the function to hide non-significant annotations or not. If anyone has a current workaround this, please share the code. :) |
|
Yes +1 ! I'm also interested by this type of setting ! As @teanijarv said, the most user-friendly way should be including an argument ;) |
|
I'm messing with this in my own fork which allow you to do and if the flag show_non_significant is set to False they will not be added to the plot anymore. |
|
There seems to be quite the user demand for this feature, let's make that happen! Thanks @sepro for giving the impulsion and contributing again! |
|
This is now included in v0.6! Note that it is configured as a configuration parameter though (via |
Uh oh!
There was an error while loading. Please reload this page.
I think this is the most frequently requested feature, already for
statannot.While the most "direct" way of conveying the number of tests performed is to plot the results for all of them, it would also be possible to explain all tests performed outside of the plotting area in order to have significant results stand out.
Those who seek to do that can do it rather easily already, with a few more steps. So the question is, should the package offer a simpler
hide_non_signif_resultsoption ?Please react Up or Down if that matters at all to you :-)
All reactions