Skip to content

Add scanpy display settings based on tool scope #1177

@adkinsrs

Description

@adkinsrs

Another round of scanpy tSNE/UMAP plot settings. Previously I tried to make some formula to calculate figure size based on the "gridSpec" parameter (from gene expression displays) and spacing info. I have found that this tends to not work for single-dataset displays in the "expanded" view as well as in the single-gene curator.

Two thoughts about how to do this:

  1. Have settings based on the scope ("curator", "condensed-view", "expanded-view", "download")
  2. Pass in width and height of container to API and set figure information in reference to that.

Things to adjust:

  • figure width
  • figure height
  • wspace (space between column panels)
  • hspace (space between row panels)
  • font size for title, colorbar, legend items
  • legend properties

Metadata

Metadata

Assignees

Labels

Low PriorityNot the biggest concern at the moment. Also includes "nice to haves"Page: multigene curatorSubtasks related to the multigene curator utility and its displaysPage: search display pagesThis includes gene expression and projection displaysPage: single gene curator

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions