Skip to content
Snippets Groups Projects

Fix plots to compensate for ling legend labels

Merged Jacob Golomb requested to merge jacob.golomb/gwpopulation_pipe:fix_plots into master

Currently labels for analyses can be long and make plots unruly. This MR i) places the legend centered above the subplots and ii) removes plt.tight_layout() (this was causing the axis sizes to becomes badly distorted when the label in the legend was long).

Example:

Old plots looked like this

Screen_Shot_2024-05-02_at_4.32.50_PM

New plots look like this

Screen_Shot_2024-05-02_at_4.33.33_PM

This seems more organized than forcing new lines at places in the legend depending on the label length.

Edited by Jacob Golomb

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading