Briemcc commited on
Commit
3c6c326
·
verified ·
1 Parent(s): 1642b42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,7 +147,7 @@ bar_chart = (
147
  alt.Chart(df_jcopy)
148
  .mark_bar()
149
  .encode(
150
- y=alt.Y("Agency:N", sort="-x"),
151
  x=alt.X("mean(YTD Gross):Q", title="Total Personale Expense"),
152
  tooltip=[
153
  "Agency:N",
@@ -188,7 +188,7 @@ strip = (
188
  alt.Chart(df_jcopy)
189
  .mark_circle(size=60, opacity=0.6)
190
  .encode(
191
- x=alt.X("YTD Gross:Q", title="YTD Gross"),
192
  y=alt.Y("Agency:N", title=""),
193
  color=alt.Color("Agency:N",title='Agency'),
194
  tooltip=[
 
147
  alt.Chart(df_jcopy)
148
  .mark_bar()
149
  .encode(
150
+ y=alt.Y("Agency:N", sort="-x", ),
151
  x=alt.X("mean(YTD Gross):Q", title="Total Personale Expense"),
152
  tooltip=[
153
  "Agency:N",
 
188
  alt.Chart(df_jcopy)
189
  .mark_circle(size=60, opacity=0.6)
190
  .encode(
191
+ x=alt.X("YTD Gross:Q", axis=alt.Axis(labelLimit=0, title='title="Year to Date Gross Income')),
192
  y=alt.Y("Agency:N", title=""),
193
  color=alt.Color("Agency:N",title='Agency'),
194
  tooltip=[