You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fully agree it might just be my lack of understanding of how to use Shadow and would appreciate an example of how a Shadow of the same size as an AnnotationBox may be constructed.
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
3.8 will add configuration of the pie (#25389) and legend (#24666) shadow. I guess this comes down to adding a shadow keyword argument to FancyBboxPatch in a similar manner? In that way one can pass shadow={'ox': 3, ...} as part of the bbox arguments (and this will also be applicable to quite a lot of other things relying on FancyBboxPatch).
This will not handle Gaussian blurring though(?). But that can be added to Shadow separately.
Activity
ImportanceOfBeingErnest commentedon Mar 20, 2019
Maybe this needs a bit more detail, concerning in how far
matplotlib.patches.Shadowwould not be sufficient.dov commentedon Mar 20, 2019
I fully agree it might just be my lack of understanding of how to use
Shadowand would appreciate an example of how aShadowof the same size as anAnnotationBoxmay be constructed.jklymak commentedon Mar 20, 2019
Untested, but
AnnotationBoxshould have aget_bbox_patch()method, that then you can pass toShadow. A PR with a demo would be most welcome...ImportanceOfBeingErnest commentedon Mar 20, 2019
There is also
matplotlib.patheffects.SimplePatchShadow.... which makes me wonder if both are really needed.
In any case none of them allow for gaussian bluring - which is in general something for which matplotlib does not have any API.
github-actions commentedon Jun 9, 2023
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
oscargus commentedon Jun 9, 2023
3.8 will add configuration of the pie (#25389) and legend (#24666) shadow. I guess this comes down to adding a
shadowkeyword argument to FancyBboxPatch in a similar manner? In that way one can passshadow={'ox': 3, ...}as part of thebboxarguments (and this will also be applicable to quite a lot of other things relying on FancyBboxPatch).This will not handle Gaussian blurring though(?). But that can be added to Shadow separately.