]> code.ossystems Code Review - openembedded-core.git/commit
scripts/pybootchart/draw: Fix some bounding problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2019 10:50:14 +0000 (11:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2019 21:56:40 +0000 (22:56 +0100)
commitef257afb772daf721f12cb3ff9708d39da06f2c9
tree5f05ec5b8fe9bbd953e468704b2f0a53652b8d07
parent50d9af7bcb05823db36e86170ef9ba3a1d6cfeca
scripts/pybootchart/draw: Fix some bounding problems

The chart size extents were being incorrectly reported, not accounting for the
width of the legend. Set a minimum width to account for that (its fixed size).

Also stop printing the chart background off the bottom of the chart extents.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/pybootchartgui/pybootchartgui/draw.py