Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 7bd4c9e

Browse files
committed
[IMP] Transparency on contourplot
1 parent 2e1e45b commit 7bd4c9e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

camelot/plotting.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ def contour(self, table):
132132
xs.extend([t[0], t[2]])
133133
ys.extend([t[1], t[3]])
134134
ax.add_patch(
135-
patches.Rectangle(
136-
(t[0], t[1]), t[2] - t[0], t[3] - t[1], color="blue"
137-
)
135+
patches.Rectangle((t[0], t[1]), t[2] - t[0], t[3] - t[1], alpha=0.5)
138136
)
139137

140138
for t in table_bbox.keys():

0 commit comments

Comments
 (0)