Skip to content

Commit 2278c5a

Browse files
Merge pull request #20 from JulianKarlBauer/tune
Fix advancing dependencies
2 parents 5eb7928 + 2b439ee commit 2278c5a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

scripts/s134_plotly_interpolate_transv_fields.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@ def plot_tp_ensemble(self, row, text_color=(0, 0, 0)):
211211

212212
position = origin + np.array([0.05, -0.2, 0]) * scale
213213

214-
text_color_plotly_rgb = "rgb" + str(tuple(np.array(text_color) * 255))
214+
text_color_plotly_rgb = "rgb" + str(
215+
tuple((np.array(text_color) * 255).tolist())
216+
)
215217

216218
self.annotation_bucket.append(
217219
dict(

scripts/s137_plotly_field.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ def plot_tp_ensemble(self, visualization_method, row, scale):
243243
position = origin + np.array([0.05, -0.4, 0]) * scale
244244

245245
text_color = (1, 0, 0) # Red
246-
text_color_plotly_rgb = "rgb" + str(tuple(np.array(text_color) * 255))
246+
text_color_plotly_rgb = "rgb" + str(
247+
tuple((np.array(text_color) * 255).tolist())
248+
)
247249

248250
self.annotation_bucket.append(
249251
dict(

scripts/s138_plotly_interpolate_transv_fields_tweaked_UD_and_scales.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ def plot_tp_ensemble(self, row, text_color=(0, 0, 0), vectors=None):
216216

217217
position = origin + np.array([0.05, -0.2, 0]) * scale
218218

219-
text_color_plotly_rgb = "rgb" + str(tuple(np.array(text_color) * 255))
219+
text_color_plotly_rgb = "rgb" + str(
220+
tuple((np.array(text_color) * 255).tolist())
221+
)
220222

221223
self.annotation_bucket.append(
222224
dict(

0 commit comments

Comments
 (0)