aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/Plot.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-30 13:15:10 +0300
committerBonfaceKilz2021-04-30 13:45:15 +0300
commit99f8bdbb70e4e00df6671c3f20db4857ffa96d6f (patch)
treeb2e672d66ff5e43e1a2162b62493ceed7a158818 /wqflask/utility/Plot.py
parent4e65b73a0f903834f8dbd02d11c49b75d7c935c7 (diff)
downloadgenenetwork2-99f8bdbb70e4e00df6671c3f20db4857ffa96d6f.tar.gz
autopep8: Run autopep8 100 times with target rules
Rules used are: E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,E242, E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306, E401,E501,E70,E701,W291,W292,W293,W391,W504,E101,E11,E121, E122,E123,E124,E125,E126,E127,E128,E129,E131,E133
Diffstat (limited to 'wqflask/utility/Plot.py')
-rw-r--r--wqflask/utility/Plot.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/utility/Plot.py b/wqflask/utility/Plot.py
index 37a8a1a5..9b2c6735 100644
--- a/wqflask/utility/Plot.py
+++ b/wqflask/utility/Plot.py
@@ -188,7 +188,8 @@ def plotBar(canvas, data, barColor=BLUE, axesColor=BLACK, labelColor=BLACK, XLab
for i in range(int(stepX) + 1):
xc = xLeftOffset + (x - xLow) * xScale
im_drawer.line(
- xy=((xc, yTopOffset + plotHeight), (xc, yTopOffset + plotHeight + 5)),
+ xy=((xc, yTopOffset + plotHeight),
+ (xc, yTopOffset + plotHeight + 5)),
fill=axesColor)
strX = cformat(d=x, rank=0)
im_drawer.text(
@@ -217,7 +218,7 @@ def plotBar(canvas, data, barColor=BLUE, axesColor=BLACK, labelColor=BLACK, XLab
text=XLabel,
xy=(xLeftOffset + (
plotWidth - im_drawer.textsize(XLabel, font=labelFont)[0]) / 2.0,
- yTopOffset + plotHeight + yBottomOffset-10),
+ yTopOffset + plotHeight + yBottomOffset - 10),
font=labelFont, fill=labelColor)
if YLabel: