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

Cannot set stackplot linewidth=0 when writing to pdf #2910

Closed
kennethdamica opened this issue Mar 19, 2014 · 5 comments · Fixed by #3485
Closed

Cannot set stackplot linewidth=0 when writing to pdf #2910

kennethdamica opened this issue Mar 19, 2014 · 5 comments · Fixed by #3485
Milestone

Comments

@kennethdamica
Copy link

Setting linewidth=0 works fine when using show() or writing to a png, but linewidth seems to default to 1 when writing to a PDF.

Here is a demo of the bug:
https://gist.github.com/kennethdamica/9646582

@WeatherGod
Copy link
Member

The PDF spec does not allow for a zero width line (or even less than 1
width lines), so many viewers will force a minimum width of one on display.
We have run into this issue with users specifying linewidths like 0.5 and
having it display like a 1.0 in PDF viewers. Now, for the case of a
zero-width line, I would imagine that it shouldn't be drawn at all.

@tacaswell tacaswell added this to the v1.4.x milestone Mar 20, 2014
@mpharrigan
Copy link

Hi,
I'm having this issue with scatter as well, and it is very frustrating

@tacaswell
Copy link
Member

For scatter you might be able to get away with setting the markeredgecolor to be the same as the marker face color.

@mpharrigan
Copy link

Setting edgecolor to 'none' also seems to work

@jkseppan
Copy link
Member

jkseppan commented Sep 8, 2014

I think this is fixed by #3485, specifically commit 3a015fa.

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

Successfully merging a pull request may close this issue.

5 participants