Commit e494b5d4 authored by Matthew David Pitkin's avatar Matthew David Pitkin
Browse files add another exception to catch in plot_with_data

parent 9fba8be8
......@@ -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',
except AttributeError:
except (AttributeError, TypeError):
"No log likelihood values stored, unable to plot max")
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