當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


Python matplotlib FancyBboxPatch.set_bounds用法及代碼示例

本文簡要介紹 python 語言中 matplotlib.patches.FancyBboxPatch.set_bounds 的用法。

用法

set_bounds(*args)

設置矩形的邊界。

調用簽名:

set_bounds(left, bottom, width, height)
set_bounds((left, bottom, width, height))
參數
left, bottom 浮點數

矩形左下角的坐標。

width, height 浮點數

矩形的寬度/高度。

相關用法


注:本文由純淨天空篩選整理自skytowner.com大神的英文原創作品 matplotlib.patches.FancyBboxPatch.set_bounds。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。