[Matplotlib-users] add round corner for patches.Rectangle, not with FancyBboxPatch

orange si ilikeorangeapple at gmail.com
Wed Jul 25 02:13:10 EDT 2018


update: I use  round,pad=1,rounding_size=0.4, it works well in demo script
! But when I use that in my real script, that don't work, even I use
set_boxstyle("round,pad=1,rounding_size=0.4"), it also not woks.
Aattachment is my script and ipynb and input file.

thanks~

orange si <ilikeorangeapple at gmail.com> 于2018年7月23日周一 下午3:11写道:

> hi everyone,
>     I see the FancyBboxPatch can add round corner  in
> https://matplotlib.org/gallery/shapes_and_collections/fancybox_demo.html
> , but that has some space between the rectangle and the fancybox. And I
> just want to add round corner instead of the sharp corner for Rectangle,
> not to expand the rectangle region.
>     That confused me a few days, thanks for any help~
>
> Best Regards
> Si
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180725/eea20148/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.py
Type: application/octet-stream
Size: 9235 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180725/eea20148/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.ipynb
Type: application/octet-stream
Size: 76467 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180725/eea20148/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input.gff
Type: application/octet-stream
Size: 3058 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180725/eea20148/attachment-0005.obj>


More information about the Matplotlib-users mailing list