Spaces:
Sleeping
Sleeping
trying
Browse files
app.py
CHANGED
|
@@ -108,9 +108,9 @@ box = (
|
|
| 108 |
.encode(
|
| 109 |
x=alt.X("Agency:N", title=""),
|
| 110 |
y=alt.Y("YTD Gross:Q", title="Salary Distribution"),
|
|
|
|
| 111 |
color=alt.value("#4C78A8")
|
| 112 |
-
)
|
| 113 |
-
.transform_filter(alt.expr.not_(select_bar.empty))
|
| 114 |
.properties(width=120, height=800)
|
| 115 |
)
|
| 116 |
|
|
|
|
| 108 |
.encode(
|
| 109 |
x=alt.X("Agency:N", title=""),
|
| 110 |
y=alt.Y("YTD Gross:Q", title="Salary Distribution"),
|
| 111 |
+
opacity=alt.condition(select_bar,alt.value(1),alt.value(0)),
|
| 112 |
color=alt.value("#4C78A8")
|
| 113 |
+
)
|
|
|
|
| 114 |
.properties(width=120, height=800)
|
| 115 |
)
|
| 116 |
|