Skip to content
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

export_fig to PDF results in changed background color of text box annotation #281

Closed
jcbms opened this issue Jul 22, 2019 · 1 comment
Closed

Comments

@jcbms
Copy link

jcbms commented Jul 22, 2019

export_fig caused annotations (‘textbox’) with background colors to change to the same green regardless of the color choice in the annotation function. However, the color of the text in the box is not an issue, and when there is no background color set there is no issue.

I do not believe that this is similar to the other color issues like #230 and #206 as I have tried some of those fixes.

Matlab R2017b

annotationExample

@altmany
Copy link
Owner

altmany commented Aug 6, 2019

This is only relevant for EPS/PDF (not bitmap) formats and the colors automatically revert to their original (non-green) colors in both the output file and the main figure, so I'm not sure why you see the green output.

In any case, I just added a condition that only modifies the bgcolor to green in case it is non-opaque, so hopefully this should reduce (if not eliminate) the problem, so I'm closing the issue now.

You can reopen the issue if you still see a problem, but in this case you will need to provide a reproducible code snippet that shows the problem.

@altmany altmany closed this as completed Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants