Skip to content

Conversation

@cgohlke
Copy link
Contributor

@cgohlke cgohlke commented Sep 20, 2012

In this case edgecolors is mistakenly set to a tuple 'k', such that the following ec.lower() statement will fail with an AttributeError.

In this case `edgecolors` is mistakenly set to a tuple `'k',` such that the following `ec.lower()` statement will fail with an `AttributeError`.
@pelson
Copy link
Member

pelson commented Sep 20, 2012

@cgohlke : Would it be hard to put together a quick test of this? I think it would be beneficial even though the code path you are fixing is deprecated. Additionally, I suspect we will want to have this bug fixed in 1.2.

@cgohlke
Copy link
Contributor Author

cgohlke commented Sep 20, 2012

Basemap's ploticos.py failed, but this has now been fixed. Not sure if it's worth writing a test for a deprecated feature...

@dmcdougall
Copy link
Member

@cgohlke It looks like the Travis test failures are old ones that were fixed by one of Mike's changes. Do you consider this ready to merge?

dmcdougall added a commit that referenced this pull request Sep 30, 2012
Fix tripcolor with shading='faceted'
@dmcdougall dmcdougall merged commit a6c59f7 into matplotlib:master Sep 30, 2012
@dmcdougall
Copy link
Member

Cherry-picked into v1.2.x.

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.

3 participants