Spaces:
Running
on
Zero
Running
on
Zero
Remove commas from some Hex lettering options
Browse files- utils/hex_grid.py +4 -4
utils/hex_grid.py
CHANGED
@@ -278,10 +278,10 @@ def generate_hexagon_grid_with_text(hex_size, border_size, input_image=None, ima
|
|
278 |
text = f"{col},{row}"
|
279 |
elif add_hex_text_option == "Sequential Numbers":
|
280 |
text = f"{hex_index}"
|
281 |
-
elif add_hex_text_option == "Column Letter
|
282 |
-
text = f"{number_to_letter(col)}
|
283 |
-
elif add_hex_text_option == "Column Number
|
284 |
-
text = f"{col}
|
285 |
elif text_list:
|
286 |
text = text_list[hex_index % len(text_list)]
|
287 |
else:
|
|
|
278 |
text = f"{col},{row}"
|
279 |
elif add_hex_text_option == "Sequential Numbers":
|
280 |
text = f"{hex_index}"
|
281 |
+
elif add_hex_text_option == "Column Letter Row Number":
|
282 |
+
text = f"{number_to_letter(col)}{row}"
|
283 |
+
elif add_hex_text_option == "Column Number Row Letter":
|
284 |
+
text = f"{col}{number_to_letter(row)}"
|
285 |
elif text_list:
|
286 |
text = text_list[hex_index % len(text_list)]
|
287 |
else:
|