Skip to content
Snippets Groups Projects
Commit 34a62573 authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Merge branch 'fix_plot_with_data' into 'master'

Add another exception to catch in `plot_with_data`

See merge request !329
parents 491fbd8e e494b5d4
No related branches found
No related tags found
1 merge request!329Add another exception to catch in `plot_with_data`
Pipeline #44051 passed
......@@ -804,7 +804,7 @@ class Result(object):
s = model_posterior.iloc[self.posterior.log_likelihood.idxmax()]
ax.plot(xsmooth, model(xsmooth, **s), lw=1, color='k',
label=maxl_label)
except AttributeError:
except (AttributeError, TypeError):
logger.debug(
"No log likelihood values stored, unable to plot max")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment