-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
urgent bug after 1.5.0: offset of LineCollection when apply agg_filter #5969
Comments
while I guess I fixed it by removing the line update: |
Probably a duplicate of #5960 |
@tacaswell thank you for reply. I remember a few months ago I upgrade matplotlib and have this offset problem and then switch back to old version just to get my work done. I thought 1.5.1 would fix it. May I ask, applying cheers. |
We can not fix bugs we do not know about. Can you check if using #5718 fixes it for you? |
@tacaswell what do you mean you don't know about it? it is applying it is not only my code, the demo code of |
Hualin, What we mean about "bugs we don't know about" is your statement that you Thank you for the latest image, as it would help us see exactly what is One of the big changes in v1.5.0 was to jettison the CXX bindings to AGG On Fri, Feb 5, 2016 at 3:13 PM, Hualin notifications@github.com wrote:
|
well I am not "simply hoping" anything fixed without report it. I just expect the version 1.5.1 could match what it has in the examples. I know no one can test all cases. it is common. sorry I can't give you the whole project of my code here. it is too large. the procedure is simply is: apply Gaussian blur to sorry I am not sure how exactly I don't blame anybody of not fixing it now, I just wish it could be fixed in the future from it been reported. anyway, I can always use version 1.4.3 for my work only. I know Matplotlib is only a scientific plotting lib and it does most of the plot well. Now I have learned that for filter affect in visualisation, I should consider other libs in the future, perhaps Processing. cheers. |
@Hualin There seems to be some miscommunication here. As a project, we are very concerned about regressions; if we had known about this before we release 1.5.0 it would have been a blocking issue. However, we did not have an automated test of This will be fixed in v2.0 (the next planned major release) and has been milestoned for 1.5.2 (which may or may not happen) so it should be fixed 'soon'. As for #5718 all you need to do is install mpl from source on that branch and verify if your code works or not. |
@tacaswell thanks it's very kind of you. looking forward the next major release. |
I'm closing this as a duplicate of #5960. |
As an update, this will not be fixed in 1.5.2, but will be fixed in 2.0. |
so my plot is,
LineCollection
with each edge to be blurred using a trick calledagg_filter
, which is a hidden feature not listed in the documentation of matplotlib.the problem is this plot used to be fine before perhaps in version 1.4, but now after upgrade to 1.5.0 there is a offset of line collection and scatterplot. the plot is now look like this:
the 2D coordinate for scatterplot and line collection should be correct otherwise the old version should not draw it correctly.
I found there is no explanation in the official documentation of matplotlib of the
Collection. set_agg_filter(filter_func)
nor did I found the explanation of what isfilter_fun
is like and how it should be defined.please tell me whether
agg_filter
is still working in Matplotlib, many thanks.so basically I extract the relevant code to present:
the
agg_filter
code is found in MailList of matplotlib which is never listed in Documentation but mentioned to be implemented but never actually implemented. so I guess it is a hidden feature, perhaps the code is outdated, but I really need to blur these lines in my plot in the new version of Matplotlib.The text was updated successfully, but these errors were encountered: