-
Notifications
You must be signed in to change notification settings - Fork 40
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
ggplot2: One line of panel.background always gets dropped #47
Comments
An even more minimal example:
The polyline only draws three of the four sides.
|
I think I figured out the cause of the problem. The reason why one line was dropped off is that the current If we do not provide our own |
@yixuan clipping shouldn't be too hard to implement, right? We can just continue to draw everything, but put it in an element that clips? (Hmmmm, after reading the svg docs a bit this might be hard because we need to declare a |
It seems possible to implement a |
I believe we can define multiple |
Oh I see you can define it just before you use it: <g clip-rule="nonzero">
<clipPath id="MyClip">
<path d="..." clip-rule="evenodd" />
</clipPath>
<rect clip-path="url(#MyClip)" ... />
</g> |
Yep. I could try to make a PR today to implement this. |
That would be awesome - I want to aim for a release around Feb 12 |
The text was updated successfully, but these errors were encountered: