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

Support markers from Paths that consist of one line segment#10632

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
phobson merged 1 commit intomatplotlib:masterfromlpsinger:short-marker-path
Mar 2, 2018

Conversation

lpsinger
Copy link
Contributor

Theelif clauses inMarker.set_marker needed to be reordered because any Python object that has a__len__ method is an instance ofcollections.Sized.

Before this change, the new unit testtest_marker_path() would fail with this exception:

TypeError: 'Path' object does not support indexing

The `elif` clauses in `Marker.set_marker` needed to be reorderedbecause any Python object that has a `__len__` method is aninstance of `collections.Sized`.
@phobsonphobson merged commit79fb398 intomatplotlib:masterMar 2, 2018
@lpsingerlpsinger deleted the short-marker-path branchMarch 2, 2018 17:39
@QuLogicQuLogic added this to thev3.0 milestoneMar 2, 2018
@QuLogicQuLogic mentioned this pull requestMar 30, 2018
@ImportanceOfBeingErnest
Copy link
Member

I think this fixes a bug and a regression to 1.x versions. Should be put in the 2.2 branch as well.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@phobsonphobsonphobson approved these changes

@anntzeranntzeranntzer approved these changes

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

Successfully merging this pull request may close these issues.

5 participants
@lpsinger@ImportanceOfBeingErnest@phobson@anntzer@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp