Skip to content
Snippets Groups Projects

convert facecolors to nparray

Merged Karim Ahmed requested to merge fix/facecolor_array_extra_geom into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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:
Loading