Skip to content

Commit 19e6bc1

Browse files
authored
Merge pull request #157 from rohan3412/patch-1
Added black_bg as an option for create_output
2 parents 7ef261a + ad3b6fd commit 19e6bc1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

atlasreader/atlasreader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ def create_output(
765765
outdir=None,
766766
glass_plot_kws=None,
767767
stat_plot_kws=None,
768+
black_bg=True
768769
):
769770
"""
770771
Performs full cluster / peak analysis on `filename`
@@ -861,7 +862,7 @@ def create_output(
861862
"output_file": glass_fname,
862863
"display_mode": "lyrz",
863864
"colorbar": True,
864-
"black_bg": True,
865+
"black_bg": black_bg,
865866
"cmap": plotting.cm.cold_hot,
866867
"threshold": plot_thresh,
867868
"vmax": color_max,
@@ -915,7 +916,7 @@ def create_output(
915916
"colorbar": True,
916917
"title": clust_fname[:-4],
917918
"threshold": plot_thresh,
918-
"black_bg": True,
919+
"black_bg": black_bg,
919920
"symmetric_cbar": False,
920921
"vmax": color_max,
921922
}

0 commit comments

Comments
 (0)