Skip to content

Commit 6724969

Browse files
AlejandroFernandezLucesRobPasMuepre-commit-ci[bot]
authored
fix: Add opacity to plot selection (#747)
Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8d70121 commit 6724969

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
ANSRV_GEO_PORT: 700
1818
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
1919
GEO_CONT_NAME: ans_geo
20-
RESET_IMAGE_CACHE: 5
20+
RESET_IMAGE_CACHE: 6
2121
IS_WORKFLOW_RUNNING: True
2222
ARTIFACTORY_VERSION: v241
2323

src/ansys/geometry/core/sketch/sketch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ def plot(
850850
selected_pd_objects,
851851
screenshot=screenshot,
852852
view_2d=view_2d_dict,
853+
opacity=0.7, # We are passing PD objects directly... apply opacity to all of them
853854
**plotting_options,
854855
)
855856
else:

0 commit comments

Comments
 (0)