Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MAINT finance module is deprecated#7295

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

Merged
QuLogic merged 2 commits intomatplotlib:masterfromNelleV:deprecate_finance
Oct 18, 2016
Merged

MAINT finance module is deprecated#7295

QuLogic merged 2 commits intomatplotlib:masterfromNelleV:deprecate_finance
Oct 18, 2016

Conversation

NelleV
Copy link
Member

@NelleVNelleV commentedOct 17, 2016
edited
Loading

Here is a deprecation for the finance module.

Supersedes#7071
We should probably make a call for contributor out.

@NelleVNelleV changed the titleMAINT finance module is deprecated[MRG] MAINT finance module is deprecatedOct 17, 2016
@@ -2,7 +2,7 @@
A collection of functions for collecting, analyzing and plotting
financial data. User contributions welcome!

This module is deprecated in1.4 and will be moved to `mpl_toolkits`
This module is deprecated in2.0 and will be moved to `mpl_toolkits`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

"and has been moved to it's own project" ?

@tacaswelltacaswell changed the title[MRG] MAINT finance module is deprecated[MRG+1] MAINT finance module is deprecatedOct 18, 2016
@tacaswelltacaswell added this to the2.0 (style change major release) milestoneOct 18, 2016
@tacaswell
Copy link
Member

Looks good modulo minor word smithnig.

Who ever merges, please remember to backport to v2.x

@QuLogicQuLogic changed the title[MRG+1] MAINT finance module is deprecatedMAINT finance module is deprecatedOct 18, 2016
@QuLogicQuLogic merged commit33f8412 intomatplotlib:masterOct 18, 2016
@QuLogic
Copy link
Member

QuLogic commentedOct 18, 2016
edited
Loading

Backported to v2.x via83292f5.

QuLogic added a commit to QuLogic/matplotlib that referenced this pull requestOct 18, 2016
@anntzer
Copy link
Contributor

@NelleV Actually this interferes somewhat awkwardly with the fact that IPython still imports pylab (#7186 (comment), fixed as of IPython 5.2). Now you get the deprecation warning when running%matplotlib in IPython...

@efiring
Copy link
Member

Maybe the deprecation warning needs to be inside each function in the module, instead of at the module level?

@tacaswell
Copy link
Member

we could just wrap the import in a warning context and snarf the warning?

IPython merged my PR to remove most of the pylab importsipython/ipython#9998

@anntzer
Copy link
Contributor

I think@tacaswell's solution is the best.

@NelleV
Copy link
MemberAuthor

I think having the warning at least at module level is important, as some people sometimes import stuff from our modules (totally unrelated to our code) which is going to break as well. (That used to be a reason not to remove unused imports at the top of some of our modules).

I could also be very aggressive and add deprecation warnings to all the functions of the module. That's extremely easy to do with our deprecated decorator.

I'll look at ipython's issue with our deprecation warning.

@ivanovivanov mentioned this pull requestOct 19, 2016
@NelleVNelleV deleted the deprecate_finance branchOctober 21, 2016 23:17
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

6 participants
@NelleV@tacaswell@QuLogic@anntzer@efiring@mdboom

[8]ページ先頭

©2009-2025 Movatter.jp