summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_awb.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-06-29 17:38:18 +0300
commite7aa92a883c170c7f14a6aa93f13a6d75c2b7d62 (patch)
treef586d823b225b1c08c8db1d6c9d43bbf722bf73a /utils/raspberrypi/ctt/ctt_awb.py
parent6bc4af7d0b6b203cc98ad617bf0a39e11eec8a2b (diff)
utils: raspberrypi: ctt: Fix pycodestyle W605
W605 invalid escape sequence '\.' Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_awb.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_awb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/raspberrypi/ctt/ctt_awb.py b/utils/raspberrypi/ctt/ctt_awb.py
index 7055b863..3c8cd902 100644
--- a/utils/raspberrypi/ctt/ctt_awb.py
+++ b/utils/raspberrypi/ctt/ctt_awb.py
@@ -257,8 +257,8 @@ def awb(Cam, cal_cr_list, cal_cb_list, plot):
plt.scatter(rbs_hat[0], rbs_hat[1], color='red')
for i, ct in enumerate(rbs_hat[2]):
plt.annotate(str(ct), (rbs_hat[0][i], rbs_hat[1][i]))
- plt.xlabel('$\hat{r}$')
- plt.ylabel('$\hat{b}$')
+ plt.xlabel('$\\hat{r}$')
+ plt.ylabel('$\\hat{b}$')
"""
optional set axes equal to shortest distance so line really does
looks perpendicular and everybody is happy