-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Errorbar markers not drawn in png output #3687
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
Conversation
May be due to the recent C++ refactor. I'll look into this. Thanks. |
Probably the reason why it isn't effected in the pdf output is because you On Tue, Oct 21, 2014 at 8:00 AM, Michael Droettboom <
|
I think I have a fix attached. The logic that determines whether a marker is outside of the image (and thus doesn't need to be drawn), was only considering the stroke, not the fill. When there is no stroke, it was just happily drawing nothing at all. |
@WeatherGod That fix might be just on 1.4.x now, but not on master. |
I'm going to modify an existing test for this case, and then I think this is good to go. |
Thanks for the quick attention guys. I love open source! |
We really need to re-generate all of the figures with a fixed set of fonts so we can go to pixel-match image tests... |
@tacaswell: To your aside about fonts, I agree. We already are using the same fonts everywhere for testing. The issue is the specific version of freetype. I think we need to have an optional feature that downloads a very specific version of freetype and links against that. That would also solve the "installing on a bare Mac installation" problem. |
Uhm, don't we remove text in most of our tests now to avoid the freetype On Wed, Oct 22, 2014 at 9:56 AM, Michael Droettboom <
|
But I don't think we use different metrics on those images and the tests are tuned to pass modulo text issues. |
#3699 is a backport to v1.4.x of this. The two branches are different enough that we'll need to merge both. |
BUG : Errorbar markers not drawn in png output
BUG : Backport of #3687 to 1.4.x
Using the current master (0a96efb), no markers are drawn when calling
errorbar()
with eithermec='None'
ormew=0
and outputting to png. For some reason, pdf output seems unaffected.The following code reproduces the error: