Remove page credits, rename staffing growth chart

- Hide the Plotly logo credit on all dashboard charts
- Remove author name from the About page
- Rename "Management vs Faculty vs Enrollment Growth" to "Management Growth"

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
emfurst 2026-08-14 12:11:49 -04:00
commit 54a019693f
7 changed files with 23 additions and 23 deletions

View file

@ -80,6 +80,6 @@ employees only (FTPT=2).
### License
This project is released under the MIT License. Copyright (c) 2026 Eric Furst.
This project is released under the MIT License.
"""),
], style={"maxWidth": "900px", "margin": "0 auto", "lineHeight": "1.6"})

View file

@ -164,12 +164,12 @@ def layout(conn: duckdb.DuckDBPyConnection):
),
html.Div(
[
html.Div(dcc.Graph(id="comp-breakdown-chart"), style={"flex": "1"}),
html.Div(dcc.Graph(figure=cpi_fig), style={"flex": "1"}),
html.Div(dcc.Graph(id="comp-breakdown-chart", config={"displaylogo": False}), style={"flex": "1"}),
html.Div(dcc.Graph(figure=cpi_fig, config={"displaylogo": False}), style={"flex": "1"}),
],
style={"display": "flex", "gap": "16px", "marginTop": "16px"},
),
dcc.Graph(figure=role_fig),
dcc.Graph(figure=role_fig, config={"displaylogo": False}),
])

View file

@ -190,12 +190,12 @@ def layout(conn: duckdb.DuckDBPyConnection):
charts = [
kpi_row,
dcc.Graph(figure=value_fig),
dcc.Graph(figure=eps_fig),
dcc.Graph(figure=components_fig),
dcc.Graph(figure=rate_fig),
dcc.Graph(figure=value_fig, config={"displaylogo": False}),
dcc.Graph(figure=eps_fig, config={"displaylogo": False}),
dcc.Graph(figure=components_fig, config={"displaylogo": False}),
dcc.Graph(figure=rate_fig, config={"displaylogo": False}),
]
if cio_df.height > 1:
charts.append(dcc.Graph(figure=cio_fig))
charts.append(dcc.Graph(figure=cio_fig, config={"displaylogo": False}))
return html.Div(charts)

View file

@ -107,10 +107,10 @@ def layout(conn: duckdb.DuckDBPyConnection):
kpi_row,
html.Div(
[
html.Div(dcc.Graph(figure=unit_fig), style={"flex": "1"}),
html.Div(dcc.Graph(figure=pie_fig), style={"flex": "1"}),
html.Div(dcc.Graph(figure=unit_fig, config={"displaylogo": False}), style={"flex": "1"}),
html.Div(dcc.Graph(figure=pie_fig, config={"displaylogo": False}), style={"flex": "1"}),
],
style={"display": "flex", "gap": "16px"},
),
dcc.Graph(figure=cat_fig),
dcc.Graph(figure=cat_fig, config={"displaylogo": False}),
])

View file

@ -156,12 +156,12 @@ def layout(conn: duckdb.DuckDBPyConnection):
return html.Div([
kpi_row,
dcc.Graph(figure=ratio_fig),
dcc.Graph(figure=breakdown_fig),
dcc.Graph(figure=ratio_fig, config={"displaylogo": False}),
dcc.Graph(figure=breakdown_fig, config={"displaylogo": False}),
html.Div(
[
html.Div(dcc.Graph(figure=aps_fig), style={"flex": "1"}),
html.Div(dcc.Graph(figure=afr_fig), style={"flex": "1"}),
html.Div(dcc.Graph(figure=aps_fig, config={"displaylogo": False}), style={"flex": "1"}),
html.Div(dcc.Graph(figure=afr_fig, config={"displaylogo": False}), style={"flex": "1"}),
],
style={"display": "flex", "gap": "16px"},
),

View file

@ -123,10 +123,10 @@ def layout(conn: duckdb.DuckDBPyConnection):
charts = [
kpi_row,
dcc.Graph(figure=gifts_fig),
dcc.Graph(figure=split_fig),
dcc.Graph(figure=gifts_fig, config={"displaylogo": False}),
dcc.Graph(figure=split_fig, config={"displaylogo": False}),
]
if cvp_df.height > 1:
charts.append(dcc.Graph(figure=cvp_fig))
charts.append(dcc.Graph(figure=cvp_fig, config={"displaylogo": False}))
return html.Div(charts)

View file

@ -85,17 +85,17 @@ def layout(conn: duckdb.DuckDBPyConnection):
))
growth_fig.add_hline(y=100, line_dash="dot", line_color="#ccc")
growth_fig.update_layout(
title="Management vs Faculty vs Enrollment Growth (Indexed, Base Year = 100)",
title="Management Growth (Indexed, Base Year = 100)",
xaxis_title="Year", yaxis_title="Index",
template="plotly_white", height=380,
)
return html.Div([
dcc.Graph(figure=comp_fig),
dcc.Graph(figure=comp_fig, config={"displaylogo": False}),
html.Div(
[
html.Div(dcc.Graph(figure=ratio_fig), style={"flex": "1"}),
html.Div(dcc.Graph(figure=growth_fig), style={"flex": "1"}),
html.Div(dcc.Graph(figure=ratio_fig, config={"displaylogo": False}), style={"flex": "1"}),
html.Div(dcc.Graph(figure=growth_fig, config={"displaylogo": False}), style={"flex": "1"}),
],
style={"display": "flex", "gap": "16px"},
),