Commit e6f08b63 authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Enclose label text in \verb to escape underscores

Original: c05b00fbaf7d2f2166c278d33a03d1655194a1cd
parent 35b4bb08
......@@ -72,7 +72,7 @@ for i, log10_far in enumerate(range(log10_min_far, log10_max_far + 1)):
datasets = [dataset[dataset['far'] <= far] for dataset in datasets_]
# Compute titles and labels for plots.
labels = dataset_names
labels = tuple(r'\verb/{0}/'.format(name) for name in dataset_names)
title = r'$\mathrm{{FAR}} \leq 10^{{{0}}}$ Hz'.format(log10_far)
if len(args) == 1:
title += ' ({0} events)'.format(len(datasets[0]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment