-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
FIX: Fix get_facecolors #11877
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
FIX: Fix get_facecolors #11877
Conversation
I'm confused by this. Are you saying |
Might be related: #10797 |
Yes indeed for PolyCollection3D, the code snippet in my top comment that shows what the smoke test does on
The method from the super class
I have not done I'll try to do a proper
Yes this is true, I'll add tests for a few other properties.
#10797 looks related, but I would be surprised if it fixed this bug. But the magical aspects of Poly3DCollection might allow it to fix the bug in some way that is not immediately obvious. |
I probably should have tackled this PR sooner -- we now get failures in our https://travis-ci.org/mne-tools/mne-python/jobs/417532117#L2699 |
Also see #9559. At the end this is the same as #4067. There are some comments by @WeatherGod and an attempted fix in #4090 which never made it through. Not sure what problems there were/are. |
I guess this should be closed in favor of #4090, then? |
I'm still confused. Your smoke test calls ping @WeatherGod |
Ahh I see what you mean. In the older code / base I was working on, the plural was just an alias for the non-plural in In any case I'll close this for now since I found a suitable workaround, and #4090 is probably the right way to go anyway. |
On
master
the added test throws:Now it passes.
I also added a
r"""
on a docstring inlib/matplotlib/artist.py
that had a\s
in it as it was raising a SyntaxError on my system without it.