Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jleonard99 committed Oct 3, 2024
1 parent a807cb2 commit ea75721
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 50 deletions.
98 changes: 49 additions & 49 deletions docs/31_explore.html

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion site/31_explore.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def generate_workload_bar_html(row, dataframe):
def get_tabulator_table(stacked_df, terms=TERMS, dept=['CMSC'], filters=None ):
""" load data """
df = stacked_df[(stacked_df['TERM'].isin(terms)) & (stacked_df['ins_dept'].isin(dept))]
df = df.sort_values(by=["instructor_name", "term_code"], ascending=[True, True])
if filters is None:
filters = {
Expand Down Expand Up @@ -241,7 +242,9 @@ def get_tabulator_table(stacked_df, terms=TERMS, dept=['CMSC'], filters=None ):
'Hour Bar': {'type':'html'}
},
row_content=content_fn,
embed_content=True
embed_content=True,
expanded = [],
selection = []
)
df_widget.disabled = True
Expand Down

0 comments on commit ea75721

Please sign in to comment.