Skip to content

Commit

Permalink
fixing unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs authored Aug 14, 2024
1 parent c521b3e commit e33f152
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 @@ -553,7 +553,7 @@ def post(self, dataset_id):

# Set the saved figure dpi based on the number of observations in the dataset after filtering
if high_dpi:
dpi = max(150, int(df.shape[0] / 100))
dpi = max(150, int(selected.shape[0] / 100))
sc.settings.set_figure_params(dpi_save=dpi)
# if high_dpi, double the figsize height
io_fig.set_figheight(calculate_figure_height(num_plots) * 2)
Expand Down

0 comments on commit e33f152

Please sign in to comment.