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

Merge branch 'fix/facecolor_array_extra_geom' into 'master'

convert facecolors to nparray

See merge request detectors/pycalibration!390
parents 7b68a179 6cbe189f
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 = tiles.get_facecolor() * 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