Closed yihming closed 9 months ago
Consider 3 cases on showing groupby tick labels:
groupby
show_sample_name=True
yticklabels
sample_tick_labels
on_average=True
cluster_ids
on_average=False
[]
Tick label rotation:
attrs_labelrotation
xticklabel_rotation
90.0
groupby_labelrotation
No need to apply remove_unused_categories(), since pandas df.groupby(..., observed=True) would cover it.
remove_unused_categories()
df.groupby(..., observed=True)
Consider 3 cases on showing
groupby
tick labels:show_sample_name=True
, setyticklabels
tosample_tick_labels
;on_average=True
, setyticklabels
tocluster_ids
;on_average=False
, setyticklabels
to[]
.Tick label rotation:
attrs_labelrotation
toxticklabel_rotation
, and set its default to90.0
.groupby_labelrotation
as y tick labels don't need rotation.No need to apply
remove_unused_categories()
, since pandasdf.groupby(..., observed=True)
would cover it.