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

convert facecolors to nparray

parent f9db3129
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]], ...@@ -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 # Set each tile colour individually, extra_geom provides a single color
# for all tiles. # for all tiles.
facecolors = tiles.get_facecolor() * tile_count facecolors = np.array(tiles.get_facecolors().tolist() * tile_count)
# Set module name fonts # Set module name fonts
for text in ax.texts: 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