Skip to content
Snippets Groups Projects
Commit 6cbe189f authored by Karim Ahmed's avatar Karim Ahmed
Browse files

np.repeat instead of np.array

parent 372babd1
No related branches found
No related tags found
1 merge request!390convert facecolors to nparray
......@@ -275,7 +275,7 @@ def show_processed_modules(dinstance: str, constants: Optional[Dict[str, Any]],
# Set each tile colour individually, extra_geom provides a single color
# for all tiles.
facecolors = np.array(tiles.get_facecolors().tolist() * tile_count)
facecolors = np.repeat(tiles.get_facecolor(), tile_count, axis=0)
# Set module name fonts
for text in ax.texts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment