Fix column parameter

This commit is contained in:
Vinayak Mehta
2016-10-13 16:54:45 +05:30
parent 40d30c1ab9
commit adb948d363
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -376,6 +376,8 @@ class Stream:
cols = [rotate(0, 0, 0, c, -np.pi / 2)[0] for c in cols]
elif table_rotation == 'right':
cols = [rotate(0, 0, 0, c, np.pi / 2)[0] for c in cols]
cols.insert(0, text_x_min)
cols.append(text_x_max)
cols = [(cols[i], cols[i + 1]) for i in range(0, len(cols) - 1)]
else:
if self.ncolumns is not None and self.ncolumns[table_no] != -1: