Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bytes2pdatenum #4153

Merged
merged 1 commit into from Jun 18, 2015
Merged

bytes2pdatenum #4153

merged 1 commit into from Jun 18, 2015

Conversation

cimarronm
Copy link
Contributor

Possible fix for issue #4126. This extends the strpdate2num converter class to add a bytespdate2num converter which could be used in numpy's converter argument for loadtxt, genfromtxt, etc.

I have my doubts on how useful this or strpdate2num converters really are, however. The functionality seems orthogonal to matplotlib's core and better suited for a different library but maybe there is enough usage that it warrants being there.

@efiring
Copy link
Member

efiring commented Feb 28, 2015

Instead of adding another converter, would it be reasonable to modify strpdate2num so that on Py3, if it gets bytes then it does the decoding?

@tacaswell tacaswell added this to the next point release milestone Mar 1, 2015
@tacaswell tacaswell modified the milestones: proposed next point release, next point release Jun 18, 2015
@tacaswell
Copy link
Member

The pep8 failures are unrelated to this change and have been fixed else where.

tacaswell added a commit that referenced this pull request Jun 18, 2015
@tacaswell tacaswell merged commit f0f2d55 into matplotlib:master Jun 18, 2015
@tacaswell
Copy link
Member

Merging this as-is.

@efiring This fixes the demo and won't break anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants