Skip to content

Commit 2ec7540

Browse files
committed
fix performance bug shapes
1 parent 27cf15d commit 2ec7540

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/spatialdata_plot/pl/render.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def _render_shapes(
252252
# Transform the paths in PatchCollection
253253
for path in _cax.get_paths():
254254
path.vertices = trans.transform(path.vertices)
255-
cax = ax.add_collection(_cax)
256255

257256
# Sets the limits of the colorbar to the values instead of [0, 1]
258257
if not norm and not values_are_categorical:

0 commit comments

Comments
 (0)