Skip to content

Commit

Permalink
Fix Combined Histogram Issue - Mark01 (#168)
Browse files Browse the repository at this point in the history
* fresh start maro1

* adjust no of colours

* add comment
  • Loading branch information
gordonkoehn authored Sep 5, 2023
1 parent c299f34 commit 062d68e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflows/mark01.smk
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ metrics = ["AD","DL"] # <-- configure distances here
num_samples = 200 # <-- configure number of samples here

# Errors <--- set the error rates here
# TODO (Gordon): having other than 3 error rates may cause error in combined histograms rule
# colour list has fixed length of 3
selected_error_cond = ['IDEAL', 'TYPICAL', 'LARGE']
all_error_cond = {
member.name: member.value.dict()
Expand Down Expand Up @@ -148,7 +150,7 @@ rule make_combined_histograms:
fig, axs = plt.subplots(1,1,tight_layout=True)
fig.set_size_inches(7, 4)
# Define colors for each histogram
colors = ['g', 'b', 'r', 'purple']
colors = ['g', 'b', 'r']
# make combined histogram for all error conditions
plot_data = []
plot_label = []
Expand Down

0 comments on commit 062d68e

Please sign in to comment.