Skip to content

Commit 47d6de6

Browse files
authored
Update plot colors (#70)
* plots: update colors and remove edges This changeset updates all plot colors to have more distinct values, and attempts to make them easier to see by removing the edge borders. This also means, however, for plots with just one value (that appeared as a flat line) we do not see anything. This likely was not interesting data so I have removed the visuals from readmes for now (but we still have the images) and then can be added back or re-generated if needed. Signed-off-by: vsoch <vsoch@users.noreply.github.com> * restore linewidth Signed-off-by: vsoch <vsoch@users.noreply.github.com> --------- Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
1 parent a050ae9 commit 47d6de6

68 files changed

Lines changed: 1416 additions & 207 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

analysis/amg2023/1-run-analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def plot_results(df, outdir):
212212
metric_df = subset[subset.metric == metric]
213213

214214
# Note that some of these will be eventually removed / filtered
215-
colors = sns.color_palette("hls", 16)
215+
colors = sns.color_palette("hls", len(metric_df.experiment.unique()))
216216
hexcolors = colors.as_hex()
217217
types = list(metric_df.experiment.unique())
218218
palette = collections.OrderedDict()
-1.4 KB
-1.45 KB
-1.71 KB
-1.23 KB
-1.33 KB
-1.05 KB
-1.75 KB
-1.6 KB

analysis/kripke/1-run-analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def plot_results(df, outdir):
192192
for metric in subset.metric.unique():
193193
metric_df = subset[subset.metric == metric]
194194

195-
colors = sns.color_palette("hls", 16)
195+
colors = sns.color_palette("hls", len(metric_df.experiment.unique()))
196196
hexcolors = colors.as_hex()
197197
types = list(metric_df.experiment.unique())
198198
palette = collections.OrderedDict()

0 commit comments

Comments
 (0)