Commit 3360c252 authored by Viktor Reshniak's avatar Viktor Reshniak
Browse files

update plot

parent 5ef7f6ed
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -2256,25 +2256,25 @@ class PeakHistogram(object):
	def plot(self, bins, plot_path='output', prefix=None, peak_std=4, bkgr_std=10, log=False):
		start = time.time()

		styles = OrderedDict(
		    [('solid',               (0, ())),
		styles = OrderedDict([
		     ('solid',               (0, ())),

		     # ('loosely dashed',      (0, (5, 10))),
		     ('dashed',              (0, (5, 5))),
		     ('densely dashed',      (0, (5, 1))),
		     ('dashed',              (0, (5, 5))),

		     # ('loosely dashdotted',  (0, (3, 10, 1, 10))),
		     ('dashdotted',          (0, (3, 5, 1, 5))),
		     ('densely dashdotted',  (0, (3, 1, 1, 1))),
		     ('dashdotted',          (0, (3, 5, 1, 5))),

		     # ('loosely dashdotdotted', (0, (3, 10, 1, 10, 1, 10))),
		     ('dashdotdotted',         (0, (3, 5, 1, 5, 1, 5))),
		     ('densely dashdotdotted', (0, (3, 1, 1, 1, 1, 1))),
		     ('dashdotdotted',         (0, (3, 5, 1, 5, 1, 5))),

		     # ('loosely dotted',      (0, (1, 10))),
		     ('dotted',              (0, (1, 5))),
		     ('densely dotted',      (0, (1, 1)))]
		     )
		     ('densely dotted',      (0, (1, 1))),
		     ('dotted',              (0, (1, 5)))
		    ])
		styles = list(styles.values())[-1::-1]
		# styles = [';',':','-.','--','-']