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
Update backend_cairo.py #2861
Update backend_cairo.py #2861
Conversation
Commenting out explicit point check w.r.t. cairo backend. Does not seem relevant with newer Cairo reference: matplotlib.1069221.n5.nabble.com/Matplotlib-py3-gtk3-td42953.html
If you are going to take the lines out, just remove them. Version control will take care of the history for us. |
Other than the minor point of just deleting the lines, this looks good to me. @mdboom Who is the cairo expert? |
It would be nice, but not required, to determine when this limitation was removed from Cairo and only remove the check for those versions. If that's easy to great, otherwise, let's not let this hold us up. The Cairo changelog doesn't seem to mention anything. |
@eeyrjmr Could you add a CHANGLOG entry for this change? |
@tacaswell ok |
It might not be without problems though.... While plotting > 18980 does not result in some crash (of python), it might be responsible for some serious UI slowdown due to pyGObject+cairo+matplotlib. |
@eeyrjmr This also needs to be re-based. I suspect the conflict is in the changelog. |
Looking a bit more into this I don't think it is wise to apply this patch, in fact Cairo's present state does bring into question pyGObject with matplotlib... There are bigger problems with cairo than 18980 points... pyGObject fully converted over to cairo (gtk2 iirc used gdk to draw) and it is dog slow... REALLY painfully slow... I am about 20% into a pyQT4 conversion. |
de-milestoning and closing. |
Commenting out explicit point check w.r.t. cairo backend. Does not seem relevant with newer Cairo
reference: matplotlib.1069221.n5.nabble.com/Matplotlib-py3-gtk3-td42953.html