-
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor plot_ecdf arguments (#2316)
* Add rcparam for band probability * Unify plot_ecdf keywords and deprecate old ones * Change default num_trials to match plot_ecdf * Support keywords rvs and random_state * Deprecate values2 * Allow eval_points to be specified * Restore original name confidence_bands * Correctly specify ecdf usage * Include recommended specification of eval_points * Update examples in docstrings * Deprecate pit keyword * Ravel values2 * Change band_prob default to 0.95 * Run black * Add band_prob to to rctemplate * Use deprecation warnings * Test deprecations * test eval_points accepted * Check confidence_bands args * Test ecdfplot errors * Update CHANGELOG.md * Update CHANGELOG.md * Move scipy.stats.ecdf import to top of file * Remove duplicate warnings import * Fix linting errors * Add missing newline * Mark valus2 as deprecated * Fix bulleted list of confidence_bands options * Clean up acceptable types for `random_state` * Use deprecated directive for other keywords * Make deprecation note more specific * Deprecate `npoints` * Move deprecated keywords to end of keywords list * Update CHANGELOG.md * Add missing newline * Rename band_prob to ci_prob * Change ci_prob default to 0.94 * Deprecate hdi_prob and replace with stats.ci_prob * Support rvs with no keywords * Unify docstrings * Change deprecation warning to future warning * Test deprecated rcparams * Use stats.ci_prob in plots * Use stats.ci_prob in docs * Don't access protected class variable * Apply suggestions from code review changing user-facing DeprecationWarnings to FutureWarnings * use BehaviourChangeWarning * black and docstring updates --------- Co-authored-by: Oriol Abril-Pla <[email protected]>
- Loading branch information
1 parent
3a454f7
commit 3453abd
Showing
23 changed files
with
396 additions
and
121 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
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.