Skip to content

Commit

Permalink
Remove row_height_default from gplt_params. Set to 7 (pixels) in Anop…
Browse files Browse the repository at this point in the history
…helesCnvData signatures for plot_cnv_hmm_heatmap(), plot_cnv_hmm_heatmap_track().
  • Loading branch information
leehart committed Aug 1, 2023
1 parent 89297c8 commit 1234b82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions malariagen_data/anoph/cnv_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def plot_cnv_hmm_heatmap_track(
max_coverage_variance: cnv_params.max_coverage_variance = cnv_params.max_coverage_variance_default,
sizing_mode: gplt_params.sizing_mode = gplt_params.sizing_mode_default,
width: gplt_params.width = gplt_params.width_default,
row_height: gplt_params.row_height = gplt_params.row_height_default,
row_height: gplt_params.row_height = 7,
height: Optional[gplt_params.height] = None,
show: gplt_params.show = True,
output_backend: gplt_params.output_backend = gplt_params.output_backend_default,
Expand Down Expand Up @@ -868,7 +868,7 @@ def plot_cnv_hmm_heatmap(
max_coverage_variance: cnv_params.max_coverage_variance = cnv_params.max_coverage_variance_default,
sizing_mode: gplt_params.sizing_mode = gplt_params.sizing_mode_default,
width: gplt_params.width = gplt_params.width_default,
row_height: gplt_params.row_height = gplt_params.row_height_default,
row_height: gplt_params.row_height = 7,
track_height: Optional[gplt_params.track_height] = None,
genes_height: gplt_params.genes_height = gplt_params.genes_height_default,
show: gplt_params.show = True,
Expand Down
2 changes: 0 additions & 2 deletions malariagen_data/anoph/gplt_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
"Plot height per row (sample) in pixels (px).",
]

row_height_default: row_height = 7

track_height: TypeAlias = Annotated[
int,
"Main track height in pixels (px).",
Expand Down

0 comments on commit 1234b82

Please sign in to comment.