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

Open markers incorrect in PDF output #1410

Closed
mdboom opened this issue Oct 17, 2012 · 2 comments
Closed

Open markers incorrect in PDF output #1410

mdboom opened this issue Oct 17, 2012 · 2 comments
Assignees
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone

Comments

@mdboom
Copy link
Member

mdboom commented Oct 17, 2012

In an e-mail from Gökhan Sever:

I see that a few days old clone of mpl, cannot save open symbols correctly in a pdf file.

Here is a simple test case (in ipython --pylab):

I6 xx = np.random.random(1000)

I7 plt.plot(xx, 'D', mfc='none')

On screen open symbols are fine, as expected transparency works fine, however when saved in pdf transparency disappears, symbols cover each other. (Saving to png is also fine)
@ghost ghost assigned mdboom Oct 17, 2012
@gsever
Copy link

gsever commented Oct 17, 2012

This fixes the problem. Thanks Mike.

How do you test this issue automatically? There has to be a human observer to say that transparency is fine for markers, right?

@WeatherGod
Copy link
Member

The testing suite uses ghostscript to convert the baseline pdf file into an image and compares that with a converted version of the test suite output, just like the regular images. All of the image tests exercises the PNG, SVG and PDF renderers.

BTW, in the upcoming release, we have made some changes to make it easier for other projects to utilize our testing code for their own image unit tests.

@mdboom mdboom closed this as completed in 715cd8d Oct 22, 2012
dmcdougall added a commit that referenced this issue Oct 22, 2012
backend_pdf: optional rgbFace arg in fillp replaces code in draw_markers. Closes #1410
piti118 pushed a commit to piti118/matplotlib that referenced this issue Oct 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

No branches or pull requests

3 participants