Replies: 1 comment 1 reply
-
Is it a public project? Could you share a link? There's no specific reason that comes to mind as to why framework would interfere with the clip-path, but these are often brittle. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear experts,
a while ago I coded a utility class for creating a multi panel plot. I am using a clip path to cut off everything that exceeds the plot area.
The entire code is a bit messy, but the relevant part where the clip path is defined looks sth like this:
The weird thing is, that if I download the PNG or SVG from the notebook cell, I get what I expect:

However the plot is rendered incorrectly in the notebook like this:

And to make it even more weird, if I embed it into my Framework page with a js runtime, it looks like this:

Since I'm not an expert on js, I'm not sure if this is a bug or expected behavior. Are there any obvious ways to circumvent this?
Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions