summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_noise.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 16:58:07 +0300
commit965cae72a79e870f68c6bc28231d701f3518f246 (patch)
treeadf6cc520612443146c4a4b0b48369a31c05ae61 /utils/raspberrypi/ctt/ctt_noise.py
parent6eb1bce9c77f604bb51d4a531013d328405a6c7b (diff)
utils: raspberrypi: ctt: Fix pycodestyle E251
E251 unexpected spaces around keyword / parameter equals Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_noise.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_noise.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_noise.py b/utils/raspberrypi/ctt/ctt_noise.py
index f258bc6d..2d021e55 100644
--- a/utils/raspberrypi/ctt/ctt_noise.py
+++ b/utils/raspberrypi/ctt/ctt_noise.py
@@ -102,7 +102,7 @@ def noise(Cam, Img, plot):
plt.plot(x, fit_plot_2, label='fit 0 intercept', color='green', ls='--')
plt.plot(0, 0)
plt.title('Noise Plot\nImg: {}'.format(Img.str))
- plt.legend(loc = 'upper left')
+ plt.legend(loc='upper left')
plt.xlabel('Sqrt Pixel Value')
plt.ylabel('Noise Standard Deviation')
plt.grid()