Skip to content

Commit

Permalink
tSNE plots should now scale properly
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs authored Dec 13, 2024
1 parent 202206d commit e725ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/api/resources/tsne_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def post(self, dataset_id):
dpi = io_fig.dpi # default dpi is 100, but will be saved as 150 later on
# With 2 plots as a default (gene expression and colorize_by), we want to grow the figure size slowly based on the number of plots

num_plots_wide = max_columns if max_columns else num_plots
num_plots_wide = max_columns if plot_by_group and max_columns else num_plots
num_plots_high = ceil(num_plots / num_plots_wide)

# set the figsize based on the number of plots
Expand Down

0 comments on commit e725ccb

Please sign in to comment.