[plotting] added samples plot

This commit is contained in:
mzwiessele 2015-10-03 21:14:32 +01:00
parent 57c4306d92
commit d7b5f45b71
7 changed files with 118 additions and 31 deletions

View file

@ -52,5 +52,6 @@ yerrorbar = dict(ecolor=Tango.colorsHex['darkRed'], fmt='none', elinewidth=.5, a
# GP plots
meanplot_1d = dict(color=Tango.colorsHex['mediumBlue'], linewidth=2)
meanplot_2d = dict(cmap='hot', linewidth=.5)
samples_1d = dict(color=Tango.colorsHex['mediumBlue'], linewidth=.3)
confidence_interval = dict(edgecolor=Tango.colorsHex['darkBlue'],linewidth=.5,facecolor=Tango.colorsHex['lightBlue'],alpha=.3)
density = dict(facecolor=Tango.colorsHex['mediumBlue'],edgecolors='none')

View file

@ -100,7 +100,7 @@ class MatplotlibPlots(AbstractPlottingLibrary):
ax = canvas
plots = []
if not 'alpha' in kwargs.keys():
kwargs['alpha'] = 1./(len(percentiles))
kwargs['alpha'] = 3./max(4, (len(percentiles)))
# pop where from kwargs
where = kwargs.pop('where') if 'where' in kwargs else None