Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Deprecate rcParams["datapath"] in favor of mpl.get_data_path().#16417
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
8059bdf
to7c7e3e7
Compare7c7e3e7
to9c5733e
Compare👍 but the deprecation notes should go in the 3.2 file. I don't think this is going to backport cleanly as the "pull defaults from the sample file" logic is not on the 3.2.x branch. It may have to be re-written on that branch. |
anntzer commentedMar 10, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
that's fine, I'll open a separate pr for 3.2.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This needs to be synced with changes in#16722 before merging, or just left for the branch merge up.
let's wait for that other pr to be merged |
looks like all's left after the rebase is just the changelog note? |
We should back out most of the changes from#16722 |
Ah, I see, done. |
Uh oh!
There was an error while loading.Please reload this page.
The rcParam cannot be meaningfully set by the end user from theirmatplotlibrc or Python code.
Commit message needs updating. |
I guess I vaguely lost track of the deprecation status here. The diff says "remove the datapath" kwarg, but it's clearly not actually removed, just deprecated? so this just removes the ability to set it in the matplotlibrc. But perhaps in that case we may as well wait for the entire deprecation period to be elapsed and strip out the rcparam all at once? |
So just wait for 3.4 then, and remove it all? |
I guess so,@tacaswell? |
Re-milestoned to 3.4 as this is going to take some time to sort out and remind our selves what is going on and it is better to leave a deprecating thing sitting around warning for an extra cycle that it is to pull the rug out from under someone accidentally. |
@tacaswell@anntzer can you figure out what needs to be done here? |
Are we fine with completely stripping out |
@@ -179,6 +179,7 @@ rcParams | |||
- The ``pgf.debug``, ``verbose.fileo`` and ``verbose.verbose.level`` rcParams, | |||
which had no effect, have been removed. | |||
- Support for setting :rc:`mathtext.default` to "circled" has been removed. | |||
- The ``datapath`` rcParam has been removed. Use `.get_data_path` instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
- The ``datapath`` rcParamhas been removed. Use `.get_data_path` instead. | |
- The ``datapath`` rcParamis ignored. Use `.get_data_path` instead. |
Yes to stripping out datapath for 3.4, we have given fair warning on this. |
Superseded by#19340. |
The rcParam cannot be meaningfully set by the end user from their
matplotlibrc or Python code.
PR Summary
PR Checklist