-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Path effects applied to annotation text containing \n #4024
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
Definitely a problem with the MacOS backend and probably affects other backends which use a stack-based graphics context |
This was referenced Mar 8, 2015
Closed
tacaswell
added a commit
to tacaswell/matplotlib
that referenced
this issue
Jun 19, 2015
Was falling back to the base implementation of get_rgb which looks at a local variable which was getting out of sync with the stack. Now consults the underlying cairo context. Closes matplotlib#4024 for cairo based backends
I don't think this is fixed for OSX so I will reopen #4542 fixed it for Cairo which caused this to auto close |
not blocking 1.5 on this unless @mdehoon wants to. |
mdboom
added a commit
to mdboom/matplotlib
that referenced
this issue
Oct 9, 2015
The special sub-GC that is created by the PathEffectRenderer was of GraphicsContextBase, rather than the backend-specific GC. Fix matplotlib#5049, Fix matplotlib#4024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the following test program with mathplotlib 1.4.0 (via anaconda) on OS X 10.10.1:
This fails with:
Removing the \n from the text or removing the path_effects option both run as expected. Any workarounds you can suggest are appreciated.
The text was updated successfully, but these errors were encountered: