AFQ.viz.altair#

Module Contents#

Functions#

altair_color_dict([names_to_include])

Given a list of bundle names, return a dictionary of colors for each

combined_profiles_df_to_altair_df(profiles[, ...])

Given a profiles dataframe that is combined

altair_df_to_chart(profiles[, position_domain, ...])

Given a dataframe formatted for Altair, probably from

AFQ.viz.altair.altair_color_dict(names_to_include=None)[source]#

Given a list of bundle names, return a dictionary of colors for each Formatted for Altair.

AFQ.viz.altair.combined_profiles_df_to_altair_df(profiles, tissue_properties=['dti_fa', 'dti_md'])[source]#

Given a profiles dataframe that is combined from many subjects, return a dataframe formatted for Altair.

AFQ.viz.altair.altair_df_to_chart(profiles, position_domain=(20, 80), column_count=1, font_size=20, line_size=10, row_label_angle=90, bundle_list=None, legend_line_size=5, alt_x_kwargs={}, alt_y_kwargs={}, **kwargs)[source]#

Given a dataframe formatted for Altair, probably from combined_profiles_df_to_altair_df, return a chart.