-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Contours are not removed correctly when using clabel with manual #9988
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
Comments
Thanks for the nice test. Interestingly its backend dependent: MacOS is OK, though different than the outplacement; Qt5Agg is worse than what you show above. I'd try Qt5Cairo, but its not merged yet :-( |
Interesting. I'm ultimately interested in rendering to PDF. Do you think using the MacOS backend first and then using |
Oddly that does seem to do the trick. But.... This is still a bug. |
... a mercifully one-line bug... See #9989 |
🎉 that was speedy! Thank you! |
Bug report
Bug summary
Contours created using
pyplot.contour
are not correctly removed when labelling the contours usingplt.clabel
invoked withinline=True
and manual positions.Code for reproduction
Expected outcome on the left, actual outcome on the right
Matplotlib version
print(matplotlib.get_backend())
): module://ipykernel.pylab.backend_inlineAll libraries were installed using pip in a docker image derived from
python:3
.The text was updated successfully, but these errors were encountered: