Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Fix deprecations in examples#10385
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.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2411,8 +2411,11 @@ def plotfile(fname, cols=(0,), plotfuncs=None, | ||
if plotfuncs is None: | ||
plotfuncs = dict() | ||
from matplotlib.cbook import mplDeprecation | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Should this whole method be deprecated since it depends on There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yes, and point people at pandas. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. You want to deprecate | ||
with warnings.catch_warnings(): | ||
warnings.simplefilter('ignore', mplDeprecation) | ||
r = mlab.csv2rec(fname, comments=comments, skiprows=skiprows, | ||
checkrows=checkrows, delimiter=delimiter, names=names) | ||
def getname_val(identifier): | ||
'return the name and column data for identifier' | ||